diff --git a/src/core/components/Label/index.tsx b/src/core/components/Label/index.tsx index a6e2436..8cb9b13 100644 --- a/src/core/components/Label/index.tsx +++ b/src/core/components/Label/index.tsx @@ -1,10 +1,10 @@ -import React, { ElementType, forwardRef } from 'react'; import clsx from 'clsx'; +import React, { ElementType, forwardRef } from 'react'; import { COLOR_THEME, COLOR_THEME_STYLES } from '@/constants/theme'; +import { BUTTON_ROUNDED } from '@/core/components/Button/ButtonBase/constants'; import { LABEL_ROUNDED, LABEL_SIZE, SIZE } from './constants'; import { LabelProps } from './types'; -import { BUTTON_ROUNDED } from '@/core/components/Button/ButtonBase/constants'; const Label = forwardRef( ( @@ -17,7 +17,7 @@ const Label = forwardRef( rounded, ...props }: LabelProps, - ref: React.ComponentPropsWithRef, + ref: React.ComponentPropsWithRef['ref'], ) => { const { className, ...rest } = props; const Component: ElementType = Element || 'div';