From af6da28d5a6c83c96b488894d13efdb89ddfa30f Mon Sep 17 00:00:00 2001 From: healtheloper Date: Mon, 11 Dec 2023 14:14:48 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8C=A8=ED=82=A4=EC=A7=80=20import=20?= =?UTF-8?q?=EA=B2=BD=EB=A1=9C=20=EC=88=98=EC=A0=95=ED=96=88=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/co-design-core/src/components/Badge/Badge.style.ts | 2 +- packages/co-design-core/src/components/Badge/Badge.tsx | 4 ++-- packages/co-design-core/src/components/Badge/Shield.style.ts | 2 +- packages/co-design-core/src/components/Badge/Shield.tsx | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/co-design-core/src/components/Badge/Badge.style.ts b/packages/co-design-core/src/components/Badge/Badge.style.ts index 300ddf1..0e5588c 100644 --- a/packages/co-design-core/src/components/Badge/Badge.style.ts +++ b/packages/co-design-core/src/components/Badge/Badge.style.ts @@ -1,4 +1,4 @@ -import { createStyles } from '@co-design/core'; +import { createStyles } from '@co-design/styles'; interface BadgeStyles { size: 'small' | 'medium' | 'large' | number; diff --git a/packages/co-design-core/src/components/Badge/Badge.tsx b/packages/co-design-core/src/components/Badge/Badge.tsx index 03ee124..384fa8f 100644 --- a/packages/co-design-core/src/components/Badge/Badge.tsx +++ b/packages/co-design-core/src/components/Badge/Badge.tsx @@ -1,9 +1,9 @@ -import { CoComponentProps, View } from '@co-design/core'; -import { ClassNames, PolymorphicComponentProps, PolymorphicRef } from '@co-design/styles'; +import { ClassNames, CoComponentProps, PolymorphicComponentProps, PolymorphicRef } from '@co-design/styles'; import { ReactNode, forwardRef } from 'react'; import useStyles from './Badge.style'; import { Typography } from '../Typography'; +import { View } from '../View'; export type BadgeStylesNames = ClassNames; diff --git a/packages/co-design-core/src/components/Badge/Shield.style.ts b/packages/co-design-core/src/components/Badge/Shield.style.ts index 212916b..b477046 100644 --- a/packages/co-design-core/src/components/Badge/Shield.style.ts +++ b/packages/co-design-core/src/components/Badge/Shield.style.ts @@ -1,4 +1,4 @@ -import { createStyles } from '@co-design/core'; +import { createStyles } from '@co-design/styles'; export default createStyles((theme) => ({ wrapper: { diff --git a/packages/co-design-core/src/components/Badge/Shield.tsx b/packages/co-design-core/src/components/Badge/Shield.tsx index 87ca3ea..e084190 100644 --- a/packages/co-design-core/src/components/Badge/Shield.tsx +++ b/packages/co-design-core/src/components/Badge/Shield.tsx @@ -1,10 +1,10 @@ -import { CoComponentProps, View } from '@co-design/core'; -import { ClassNames, PolymorphicComponentProps, PolymorphicRef } from '@co-design/styles'; +import { ClassNames, PolymorphicComponentProps, PolymorphicRef, CoComponentProps } from '@co-design/styles'; import { ComponentPropsWithoutRef, ReactElement, cloneElement, forwardRef } from 'react'; import { _BadgeProps } from './Badge'; import useStyles from './Shield.style'; import { Typography } from '../Typography'; +import { View } from '../View'; type ShieldBadgeStylesNames = ClassNames;