Module
ReactNative.Components.Switch
- Package
- purescript-reactnative
- Repository
- doolse/purescript-reactnative
See Switch
#SwitchProps Source
type SwitchProps eff = { disabled :: Boolean, ios :: Prop { onTintColor :: Color, thumbTintColor :: Color, tintColor :: Color }, onValueChange :: EventHandler eff Boolean, testID :: String, value :: Boolean }
#switch Source
switch :: forall eff. { onValueChange :: EventHandler eff Boolean, value :: Boolean } -> ReactElement
Create a Switch with a value and change handler
#switch' Source
switch' :: forall eff. Prop (SwitchProps eff) -> { onValueChange :: EventHandler eff Boolean, value :: Boolean } -> ReactElement
Create a Switch with props, a value and a change handler
- Modules
- ReactNative.
API - ReactNative.
Android. API - ReactNative.
Android. Components - ReactNative.
Components - ReactNative.
Components. ActivityIndicator - ReactNative.
Components. Button - ReactNative.
Components. Image - ReactNative.
Components. ListView - ReactNative.
Components. Modal - ReactNative.
Components. NavigationExperimental - ReactNative.
Components. Navigator - ReactNative.
Components. NavigatorIOS - ReactNative.
Components. Picker - ReactNative.
Components. ScrollView - ReactNative.
Components. Slider - ReactNative.
Components. Switch - ReactNative.
Components. Text - ReactNative.
Components. TextInput - ReactNative.
Components. Touchable - ReactNative.
Components. TouchableNativeFeedback - ReactNative.
Components. View - ReactNative.
Events - ReactNative.
Internal. Undefinable - ReactNative.
Platform - ReactNative.
PropTypes - ReactNative.
PropTypes. Color - ReactNative.
Styles - ReactNative.
Styles. Flex - ReactNative.
Styles. Image - ReactNative.
Styles. Text - ReactNative.
Unsafe. ApplyProps - ReactNative.
Unsafe. Components