UNPKG

@konstructio/ui

Version:

A set of reusable and customizable React components built for konstruct.io

23 lines (22 loc) 605 B
import { FC } from 'react'; import { Props } from './RadioCard.types'; /** * A card-style radio button for visually prominent selection options. * Use RadioCardGroup to manage a group of radio cards. * * @example * ```tsx * <RadioCard * name="tier" * value="enterprise" * label="Enterprise" * description="Custom pricing" * checked={tier === 'enterprise'} * onChange={(value) => setTier(value)} * /> * ``` * * @see {@link https://konstructio.github.io/konstruct-ui/?path=/docs/components-radiocard--docs Storybook} */ declare const RadioCard: FC<Props>; export { RadioCard };