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
18 lines
359 B
TypeScript
18 lines
359 B
TypeScript
import { cva } from "class-variance-authority"
|
|
|
|
import styles from "./modal.module.css"
|
|
|
|
const config = {
|
|
variants: {
|
|
withActions: {
|
|
true: styles.contentWithActions,
|
|
false: styles.contentWithoutActions,
|
|
},
|
|
},
|
|
defaultVariants: {
|
|
withActions: false,
|
|
},
|
|
} as const
|
|
|
|
export const modalContentVariants = cva(styles.content, config)
|