From 745d553175cdd04f379c493593ec5b67e9e8ed62 Mon Sep 17 00:00:00 2001 From: Vineeth Asok Kumar Date: Fri, 24 May 2024 13:40:51 +0200 Subject: [PATCH] Fix Badge import (#426) --- src/components/Badge/Badge.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }