diff --git a/src/components/common/Label/Label.tsx b/src/components/common/Label/Label.tsx new file mode 100644 index 0000000..360fc75 --- /dev/null +++ b/src/components/common/Label/Label.tsx @@ -0,0 +1,33 @@ +import * as React from 'react' +import { cn } from '@/lib/utils' +import { cva, VariantProps } from 'class-variance-authority' +import * as LabelPrimitive from '@radix-ui/react-label' + +const LabelVariants = cva('', { + variants: { + variant: { + caption1: 'typo-caption1', + button1: 'typo-button1', + button2: 'typo-button2', + }, + }, + defaultVariants: { + variant: 'caption1', + }, +}) + +interface LabelProps + extends React.LabelHTMLAttributes, + VariantProps {} + +function Label({ className, variant, ...props }: LabelProps) { + return ( + + ) +} + +export { Label }