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

import styles from './card.module.css'

const config = {
  variants: {
    as: {
      Default: styles.Default,
      Featured: styles.Featured,
    },
  },
  defaultVariants: {
    as: 'Default',
  },
} as const

export const variants = cva(styles.card, config)
