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
This commit is contained in:
16
packages/design-system/lib/components/Radio/variants.ts
Normal file
16
packages/design-system/lib/components/Radio/variants.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user