Skip to content

Commit

Permalink
style: sports list 컴포넌트에 cross icon 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
seongminn committed Nov 28, 2023
1 parent f995e5e commit 4e3406d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/league/SportsList/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Icon } from '@/components/common/Icon';
import { QUERY_PARAMS } from '@/constants/queryParams';
import { SportsType } from '@/types/league';
import { $ } from '@/utils/core';
Expand Down Expand Up @@ -25,9 +26,10 @@ export default function SportsList({
>
<button
onClick={() => onClick(QUERY_PARAMS.sports, String(sports.sportId))}
className="px-3 py-2"
className="flex items-center gap-2 px-3 py-2"
>
{sports.name}
<span>{sports.name}</span>
<Icon iconName="cross" width="12" height="12" />
</button>
</li>
))}
Expand Down

0 comments on commit 4e3406d

Please sign in to comment.