Module TouchableWithoutFeedback-BsReactNative

let make: ?⁠accessible:bool => ?⁠accessibilityLabel:string => ?⁠accessibilityComponentType:BsReactNative.Types.accessibilityComponentType => ?⁠accessibilityTraits:list(BsReactNative.Types.accessibilityTrait) => ?⁠accessibilityRole:BsReactNative.Types.accessibilityRole => ?⁠accessibilityStates:list(BsReactNative.Types.accessibilityState) => ?⁠accessibilityHint:string => ?⁠accessibilityIgnoresInvertColors:bool => ?⁠delayLongPress:int => ?⁠delayPressIn:int => ?⁠delayPressOut:int => ?⁠disabled:bool => ?⁠hitSlop:BsReactNative.Types.insets => ?⁠onLayout:(BsReactNative.RNEvent.NativeLayoutEvent.t => unit) => ?⁠onLongPress:(BsReactNative.RNEvent.NativePressEvent.t => unit) => ?⁠onPress:(BsReactNative.RNEvent.NativePressEvent.t => unit) => ?⁠onPressIn:(BsReactNative.RNEvent.NativePressEvent.t => unit) => ?⁠onPressOut:(BsReactNative.RNEvent.NativePressEvent.t => unit) => ?⁠pressRetentionOffset:BsReactNative.Types.insets => ?⁠style:BsReactNative.Style.t => ?⁠testID:string => array(ReasonReact.reactElement) => ReasonReact.component(ReasonReact.stateless, ReasonReact.noRetainedProps, unit);

You can read more on TouchableWithoutFeedback component usage in official docs: https://facebook.github.io/react-native/docs/touchablewithoutfeedback

Props

accessible
~accessible: bool=?
accessibilityLabel
~accessibilityLabel: string=?
accessibilityComponentType
~accessibilityComponentType: [
  | `none
  | `button
  | `radiobutton_checked
  | `radiobutton_unchecked
]=?
accessibilityTraits
~accessibilityTraits: list(
  [
    | `none
    | `button
    | `link
    | `header
    | `search
    | `image
    | `selected
    | `plays
    | `key
    | `text
    | `summary
    | `disabled
    | `frequentUpdates
    | `startsMedia
    | `adjustable
    | `allowsDirectInteraction
    | `pageTurn
  ]
)=?
delayLongPress
~delayLongPress: int=?
delayPressIn
~delayPressIn: int=?
delayPressOut
~delayPressOut: int=?
disabled
~disabled: bool=?
hitSlop
~hitSlop: Types.insets=?

reference:

Types.rei
type insets = {
  .
  "left": int,
  "right": int,
  "top": int,
  "bottom": int,
};
onLayout
~onLayout: RNEvent.NativeLayoutEvent.t => unit=?

reference:

module NativeLayoutEvent: {
  type t;
  type layout = {
    x: float,
    y: float,
    width: float,
    height: float
  };
  let layout: t => layout;
};
onLongPress
~onLongPress: unit => unit=?
onPress
~onPress: unit => unit=?
onPressIn
~onPressIn: unit => unit=?
onPressOut
~onPressOut: unit => unit=?
pressRetentionOffset
~pressRetentionOffset: Types.insets=?

reference:

type insets = {
  .
  "left": int,
  "right": int,
  "top": int,
  "bottom": int,
};
style
~style: Style.t=?
testID
~testID: string=?