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
24 lines
503 B
TypeScript
24 lines
503 B
TypeScript
import { cva } from "class-variance-authority"
|
|
|
|
import styles from "./chip.module.css"
|
|
|
|
export const chipVariants = cva(styles.chip, {
|
|
variants: {
|
|
size: {
|
|
small: styles.small,
|
|
medium: styles.medium,
|
|
},
|
|
variant: {
|
|
default: styles.default,
|
|
burgundy: styles.burgundy,
|
|
transparent: styles.transparent,
|
|
tag: styles.tag,
|
|
uiTextHighContrast: styles.uiTextHighContrast,
|
|
},
|
|
},
|
|
defaultVariants: {
|
|
size: "medium",
|
|
variant: "default",
|
|
},
|
|
})
|