ToggleProps: {
    active: boolean;
    onChange: ((active) => void);
    type?: "OnOff" | "Choice";
}

Type declaration

  • active: boolean
  • onChange: ((active) => void)
      • (active): void
      • Parameters

        • active: boolean

        Returns void

  • Optional type?: "OnOff" | "Choice"

Generated using TypeDoc