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