Skip to content

Commit

Permalink
패키지 import 경로 수정했다
Browse files Browse the repository at this point in the history
  • Loading branch information
healtheloper committed Dec 11, 2023
1 parent d493925 commit af6da28
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createStyles } from '@co-design/core';
import { createStyles } from '@co-design/styles';

interface BadgeStyles {
size: 'small' | 'medium' | 'large' | number;
Expand Down
4 changes: 2 additions & 2 deletions packages/co-design-core/src/components/Badge/Badge.tsx
Original file line number Diff line number Diff line change
@@ -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<typeof useStyles>;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createStyles } from '@co-design/core';
import { createStyles } from '@co-design/styles';

export default createStyles((theme) => ({
wrapper: {
Expand Down
4 changes: 2 additions & 2 deletions packages/co-design-core/src/components/Badge/Shield.tsx
Original file line number Diff line number Diff line change
@@ -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<typeof useStyles>;

Expand Down

0 comments on commit af6da28

Please sign in to comment.