yarcl
    Preparing search index...

    Function Switch

    • An on/off toggle. A native checkbox with role="switch", so checked, defaultChecked and onChange work as usual.

      Parameters

      Returns Element

      <Switch defaultChecked>Notifications</Switch>