adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
18 lines (17 loc) • 572 B
TypeScript
/// <reference types="react" />
export declare type RadioGroupProps = {
name?: string;
className?: string;
size?: "mini" | "small" | "medium" | "large" | "huge" | "mega";
options: Array<{
value: string;
label: string;
data?: any;
}>;
value?: string;
defaultValue?: string;
onChange?: (value: string) => void;
horizontal?: boolean;
compact?: boolean;
};
export declare function RadioGroup({ size, compact, horizontal, value: valueProp, defaultValue, onChange, name, options, }: RadioGroupProps): JSX.Element;