33 lines
589 B
TypeScript
33 lines
589 B
TypeScript
import { cva } from "class-variance-authority"
|
|
|
|
import styles from "./bookingWidget.module.css"
|
|
|
|
export const bookingWidgetContainerVariants = cva(
|
|
styles.bookingWidgetContainer,
|
|
{
|
|
variants: {
|
|
type: {
|
|
default: "",
|
|
full: "",
|
|
compact: styles.compact,
|
|
},
|
|
},
|
|
defaultVariants: {
|
|
type: "full",
|
|
},
|
|
}
|
|
)
|
|
|
|
export const formContainerVariants = cva(styles.formContainer, {
|
|
variants: {
|
|
type: {
|
|
default: "",
|
|
full: "",
|
|
compact: styles.compactFormContainer,
|
|
},
|
|
},
|
|
defaultVariants: {
|
|
type: "full",
|
|
},
|
|
})
|