F
Switch
Discord's switch, or its form switch, or React Native's, picked on first render.
function Switch(props: SwitchProps): ReactElement<SwitchProps, string | JSXElementConstructor<any>>Parameters
| Name | Type | Description |
|---|---|---|
| props | SwitchProps | The switch props. |
Returns
ReactElement<SwitchProps, string | JSXElementConstructor<any>>The switch element.