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)

#touchableWithoutFeedback' Source

touchableWithoutFeedback' :: forall o eff. Subrow o (TouchablePropsEx eff o) => Record o -> ReactElement -> ReactElement

Create a TouchableWithoutFeedback with the given props

#touchableOpacity' Source

touchableOpacity' :: forall o eff. Subrow o (TouchableOpacityProps eff) => Record o -> ReactElement -> ReactElement

Create a TouchableOpacity with the given props

#touchableHighlight Source

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

Create a TouchableHighlight with the given onPress handler

#touchableHighlight' Source

touchableHighlight' :: forall o eff. Subrow o (TouchableHighlightProps eff) => Record o -> ReactElement -> ReactElement

Create a TouchableHighlight with the given props