Skip to content

Commit

Permalink
타입 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
baegofda committed Aug 13, 2024
1 parent 97a239a commit 39d76e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/components/Label/index.tsx
Original file line number Diff line number Diff line change
@@ -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(
<T extends ElementType = 'div'>(
Expand All @@ -17,7 +17,7 @@ const Label = forwardRef(
rounded,
...props
}: LabelProps<T>,
ref: React.ComponentPropsWithRef<T>,
ref: React.ComponentPropsWithRef<T>['ref'],
) => {
const { className, ...rest } = props;
const Component: ElementType = Element || 'div';
Expand Down

0 comments on commit 39d76e5

Please sign in to comment.