@pollum-io/pegasys-components
Version:
Components for Pegays Protocol, the leading AMM on Syscoin NEVM.
17 lines (16 loc) • 402 B
TypeScript
export declare type RadioButtonGroupProps = {
name?: string;
/** id **/
id?: string;
/** called when state change **/
onChange?: (value: any) => void;
/** value of radio button **/
value?: any;
/** size of radio button **/
size?: number;
options: Array<{
label: string;
value: any;
}>;
type: 'horizontal' | 'verticle';
};