SwitchRow

Descriptively prompts a user to toggle a boolean.

Default

Login with FaceID
Use FaceID instead of email to login to the app.

isElevated

Login with FaceID
Use FaceID instead of email to login to the app.
Login with FaceID
Use FaceID instead of email to login to the app.
Submit as an adjustment
Adjustment can be used to correct stuff. Learn more
body
string │ element
disabled
bool
headline
string
isFirst
bool
isLast
bool
onSwitchChange
func
required
style
object
isElevated
bool
value
bool

SwitchRowWithValidation

Use this as a child of the <Form/> component. Form takes care of the value and onChange prop, so these are not required.

<Form>
{form=> (
<SwitchRowWithValidation
form={form}
label="Login with FaceID"
name="useFaceID"
/>
)}
</Form>
defaultValue
bool
form
object
required
isRequired
bool
label
string
required
name
string
required
onChange
func
onKeyPress
func
validationMethods
array