• A simple toggle-switch React component. Internally implemented as a checkbox, but rendered as an animated sliding toggle.

    Parameters

    • __namedParameters: {
          checked: boolean;
          label: string;
          onChange: (() => void);
      }
      • checked: boolean
      • label: string
      • onChange: (() => void)
          • (): void
          • Returns void

    Returns Element

Generated using TypeDoc