fix(SW-3691): Setup one prettier config for whole repo * Setup prettierrc in root and remove other configs Approved-by: Joakim Jäderberg Approved-by: Linus Flood
27 lines
509 B
TypeScript
27 lines
509 B
TypeScript
import { cva } from "class-variance-authority"
|
|
|
|
import styles from "./inputLabel.module.css"
|
|
|
|
export const inputLabelVariants = cva(styles.inputLabel, {
|
|
variants: {
|
|
size: {
|
|
small: styles.small,
|
|
regular: styles.regular,
|
|
discreet: styles.discreet,
|
|
},
|
|
required: {
|
|
true: styles.required,
|
|
},
|
|
selected: {
|
|
true: styles.selected,
|
|
},
|
|
disabled: {
|
|
true: styles.disabled,
|
|
},
|
|
},
|
|
defaultVariants: {
|
|
size: "regular",
|
|
required: false,
|
|
},
|
|
})
|