Module

ReactNative.Components.Touchable

Package
purescript-reactnative
Repository
doolse/purescript-reactnative

#TouchablePropsEx Source

type TouchablePropsEx eff r = { accessibilityComponentType :: AccessibilityType, accessibilityTraits :: AccessibilityTraits, accessible :: Boolean, delayLongPress :: Int, delayPressIn :: Int, delayPressOut :: Int, disabled :: Boolean, hitSlop :: Insets, onLayout :: EventHandler eff LayoutEvent, onLongPress :: EventHandler eff TouchEvent, onPress :: EventHandler eff TouchEvent, onPressIn :: EventHandler eff TouchEvent, onPressOut :: EventHandler eff TouchEvent, pressRetentionOffset :: Insets | r }

#TouchableWithoutFeedbackProps Source

#touchableWithoutFeedback' Source

#TouchableOpacityProps Source

type TouchableOpacityProps eff = TouchablePropsEx eff (activeOpacity :: Number)

#touchableOpacity' Source

touchableOpacity' :: forall eff. Prop (TouchableOpacityProps eff) -> ReactElement -> ReactElement

Create a TouchableOpacity with the given props

#TouchableHighlightProps Source

type TouchableHighlightProps eff = TouchablePropsEx eff (activeOpacity :: Number, onHideUnderlay :: EventHandler eff TouchEvent, onshowUnderlay :: EventHandler eff TouchEvent, style :: Styles, underlayColor :: Color)

#touchableHighlight Source

touchableHighlight :: forall eff. EventHandler eff TouchEvent -> ReactElement -> ReactElement

Create a TouchableHighlight with the given onPress handler

#touchableHighlight' Source

touchableHighlight' :: forall eff. Prop (TouchableHighlightProps eff) -> ReactElement -> ReactElement

Create a TouchableHighlight with the given props