Files
web/packages/booking-flow/lib/components/BookingWidget/variant.ts
2026-01-28 12:02:42 +00:00

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",
},
})