22 lines
529 B
TypeScript
22 lines
529 B
TypeScript
import { cva } from "class-variance-authority"
|
|
|
|
import styles from "./cardGrid.module.css"
|
|
|
|
export const cardGridVariants = cva(styles.gridContainer, {
|
|
variants: {
|
|
isMobileCarousel: {
|
|
true: styles.carousel,
|
|
},
|
|
variant: {
|
|
oneColumnGrid: styles.oneColumnGrid,
|
|
twoColumnGrid: styles.twoColumnGrid,
|
|
threeColumnGrid: styles.threeColumnGrid,
|
|
fourColumnGrid: styles.fourColumnGrid,
|
|
twoPlusOne: styles.twoPlusOne,
|
|
},
|
|
},
|
|
defaultVariants: {
|
|
variant: "threeColumnGrid",
|
|
},
|
|
})
|