Files
web/packages/design-system/lib/components/Radio/variants.ts
Tobias Johansson 0e2192be0f Merged in feat/new-rate-cards (pull request #1600)
feat(SW-1435): Added RateCard component to design system

* feat(SW-1435): Added new component: RateCard to design system

* feat: added reward night points rate card

* fix: set svg icon color to "currentColor" to make them more reusable

* fix: added click handler for info icon

* fix: added selectedRate


Approved-by: Arvid Norlin
2025-03-25 10:41:43 +00:00

17 lines
305 B
TypeScript

import { cva } from 'class-variance-authority'
import styles from './radio.module.css'
export const config = {
variants: {
color: {
Burgundy: styles['color-burgundy'],
},
},
defaultVariants: {
color: 'Burgundy',
},
} as const
export const variants = cva(styles.radio, config)