import { cva } from "class-variance-authority"

import styles from "./dialog.module.css"

const config = {
  variants: {
    variant: {
      default: styles.default,
      error: styles.error,
      search: styles.search,
    },
  },
  defaultVariants: {
    variant: "default",
  },
} as const

export const dialogVariants = cva(styles.dialog, config)
