Optional componentDirect props to set on the React Native component (including iOS and Android specific props). Most use cases should not need this.
Optional disabled?: booleanIndicate if disabled
Optional helperHelper text to render
Optional hideIndicate if label should be hidden (label is used for accessibility even when hidden)
Text to render
onPress event returns the current value
Optional selectedSelected label text (if not set will not show)
Optional style?: StyleProp<ViewStyle>Style to set on the item
Optional toggleStyle to set on the toggle wrapper itself
Indicate if toggled
Generated using TypeDoc
Props for Toggle component