UNPKG

@konstructio/ui

Version:

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

24 lines (23 loc) 749 B
import { FC } from 'react'; import { Props } from './RadioCardGroup.types'; /** * A group of card-style radio buttons with shared state management. * * @example * ```tsx * <RadioCardGroup * name="plan" * direction="row" * options={[ * { value: 'starter', label: 'Starter', description: 'For individuals' }, * { value: 'team', label: 'Team', description: 'For small teams' }, * { value: 'business', label: 'Business', description: 'For organizations' }, * ]} * defaultChecked="team" * onValueChange={(value) => console.log(value)} * /> * ``` * * @see {@link https://konstructio.github.io/konstruct-ui/?path=/docs/components-radiocardgroup--docs Storybook} */ export declare const RadioCardGroup: FC<Props>;