Skip to content

Commit

Permalink
style: 타입명 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
pepperdad committed Jul 6, 2024
1 parent b13ed7b commit 73e670e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/commons/chip/Chip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ import * as S from "./Chip.styled";

export type ChipsColorTypes = "pink" | "white" | "gray";

interface ChipsProps {
interface ChipProps {
label: string;
color?: ChipsColorTypes;
icon?: React.ReactNode;
onClick?: () => void;
}

const Chip = ({ label, color, icon, onClick }: ChipsProps) => {
const Chip = ({ label, color, icon, onClick }: ChipProps) => {
return (
<S.ChipWrapper color={color} onClick={onClick}>
{icon && <S.ChipIcon>{icon}</S.ChipIcon>}
Expand Down

0 comments on commit 73e670e

Please sign in to comment.