fix(BOOK-711): Added isFloating prop to decide when the booking widget should have a border radius
Approved-by: Bianca Widstam
This commit is contained in:
@@ -2,18 +2,21 @@ import { cva } from "class-variance-authority"
|
||||
|
||||
import styles from "./bookingWidget.module.css"
|
||||
|
||||
export const bookingWidgetContainerVariants = cva(styles.wrapper, {
|
||||
variants: {
|
||||
type: {
|
||||
default: "",
|
||||
full: "",
|
||||
compact: styles.compact,
|
||||
export const bookingWidgetContainerVariants = cva(
|
||||
styles.bookingWidgetContainer,
|
||||
{
|
||||
variants: {
|
||||
type: {
|
||||
default: "",
|
||||
full: "",
|
||||
compact: styles.compact,
|
||||
},
|
||||
},
|
||||
},
|
||||
defaultVariants: {
|
||||
type: "full",
|
||||
},
|
||||
})
|
||||
defaultVariants: {
|
||||
type: "full",
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
export const formContainerVariants = cva(styles.formContainer, {
|
||||
variants: {
|
||||
|
||||
Reference in New Issue
Block a user