Files
web/packages/design-system/lib/components/Card/Card.tsx
Michael Zetterberg 56973888c9 feat(SW-375): new tokens
new asset generation logic

BREAKING CHANGE: New tokens.
2025-03-07 07:24:37 +00:00

12 lines
260 B
TypeScript

import { variants } from './variants'
import type { CardProps } from './types'
export function Card({ as, className, children }: CardProps) {
const classNames = variants({
as,
className,
})
return <div className={classNames}>{children}</div>
}