UNPKG

@zsviczian/excalidraw

Version:
14 lines (13 loc) 424 B
import "./RadioGroup.scss"; export type RadioGroupChoice<T> = { value: T; label: React.ReactNode; ariaLabel?: string; }; export type RadioGroupProps<T> = { choices: RadioGroupChoice<T>[]; value: T; onChange: (value: T) => void; name: string; }; export declare const RadioGroup: <T>({ onChange, value, choices, name, }: RadioGroupProps<T>) => import("react/jsx-runtime").JSX.Element;