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
19 lines
367 B
TypeScript
19 lines
367 B
TypeScript
import { cva } from "class-variance-authority"
|
|
|
|
import styles from "./backToTopButton.module.css"
|
|
|
|
export const config = {
|
|
variants: {
|
|
position: {
|
|
left: styles.left,
|
|
right: styles.right,
|
|
center: styles.center,
|
|
},
|
|
},
|
|
defaultVariants: {
|
|
position: "right",
|
|
},
|
|
} as const
|
|
|
|
export const variants = cva(styles.backToTopButton, config)
|