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

22 lines
407 B
TypeScript

import { cva } from "class-variance-authority"
import styles from "./label.module.css"
export const labelVariants = cva(styles.label, {
variants: {
size: {
small: styles.small,
regular: styles.regular,
discreet: styles.discreet,
},
required: {
true: styles.required,
false: "",
},
},
defaultVariants: {
size: "regular",
required: false,
},
})