@papernote/ui
Version:
A modern React component library with a paper notebook aesthetic - minimal, professional, and expressive
21 lines • 624 B
TypeScript
export interface RadioOption {
value: string;
label: string;
description?: string;
disabled?: boolean;
icon?: React.ReactNode;
}
export interface RadioGroupProps {
name: string;
value: string;
onChange: (value: string) => void;
options: RadioOption[];
orientation?: 'horizontal' | 'vertical';
label?: string;
helperText?: string;
disabled?: boolean;
className?: string;
}
declare const RadioGroup: import("react").ForwardRefExoticComponent<RadioGroupProps & import("react").RefAttributes<HTMLDivElement>>;
export default RadioGroup;
//# sourceMappingURL=Radio.d.ts.map