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
21 lines
415 B
TypeScript
21 lines
415 B
TypeScript
import { cva } from "class-variance-authority"
|
|
|
|
import styles from "./hotelCard.module.css"
|
|
|
|
export const hotelCardVariants = cva(styles.card, {
|
|
variants: {
|
|
type: {
|
|
pageListing: styles.pageListing,
|
|
mapListing: styles.mapListing,
|
|
},
|
|
state: {
|
|
active: styles.active,
|
|
default: styles.default,
|
|
},
|
|
},
|
|
defaultVariants: {
|
|
type: "pageListing",
|
|
state: "default",
|
|
},
|
|
})
|