diff --git a/src/components/Badge/Badge.tsx b/src/components/Badge/Badge.tsx index 0c3c9a9f..e0b056f3 100644 --- a/src/components/Badge/Badge.tsx +++ b/src/components/Badge/Badge.tsx @@ -1,7 +1,7 @@ import styled from "styled-components"; import { HorizontalDirection } from "@/components"; import { HTMLAttributes, MouseEvent, ReactNode } from "react"; -import { IconName } from "@/components/Icon/types"; +import { ImageName } from "@/components/Icon/types"; import { Icon } from "@/components/Icon/Icon"; import IconWrapper from "@/components/IconWrapper/IconWrapper"; @@ -20,7 +20,7 @@ export interface CommonBadgeProps extends HTMLAttributes { text: ReactNode; state?: BadgeState; size?: BadgeSize; - icon?: IconName; + icon?: ImageName; iconDir?: HorizontalDirection; }