Files
web/components/TempDesignSystem/Form/Label/index.tsx
2025-01-13 13:35:03 +01:00

19 lines
321 B
TypeScript

import { labelVariants } from "./variants"
import type { LabelProps } from "./label"
export default function Label({
children,
className,
required,
size,
}: LabelProps) {
const classNames = labelVariants({
className,
size,
required,
})
return <span className={classNames}>{children}</span>
}