Type alias ToggleProps

ToggleProps: {
    on: boolean;
    onChange: any;
    prefix?: ReactElement | ReactNode;
    size?: Size;
    suffix?: ReactElement | ReactNode;
} & Omit<CoreViewProps, "on">

Type declaration

  • on: boolean
  • onChange: any
  • Optional prefix?: ReactElement | ReactNode
  • Optional size?: Size
  • Optional suffix?: ReactElement | ReactNode

Generated using TypeDoc