@pollum-io/pegasys-components
Version:
Components for Pegays Protocol, the leading AMM on Syscoin NEVM.
15 lines (14 loc) • 415 B
TypeScript
/// <reference types="react" />
export declare type SwitchProps = {
checked: boolean;
onChange?: (checked: boolean) => void;
disabled?: boolean;
onHandleColor?: string;
offHandleColor?: string;
onColor?: string;
offColor?: string;
uncheckedIcon?: React.ReactElement | boolean;
checkedIcon?: React.ReactElement | boolean;
height?: number;
width?: number;
};