@@ -12,16 +12,23 @@ type ref = React.Ref.t(Js.nullable(element));
1212external make:
1313 (
1414 ~ref: ref=?,
15- // TouchableOpacity props
15+ ~activeOpacity: float=?,
16+ ~focusedOpacity: float=?,
17+ ~hasTVPreferredFocus: bool=?,
18+ ~style: Style.t=?,
19+ ~tvParallaxProperties: TV.parallax=?,
20+ // TouchableWithoutFeedback props
1621 ~accessible: bool=?,
17- ~accessibilityLabel: string=?,
1822 ~accessibilityComponentType: [@bs.string] [
1923 | `none
2024 | `button
2125 | `radiobutton_checked
2226 | `radiobutton_unchecked
2327 ]
2428 =?,
29+ ~accessibilityHint: string=?,
30+ ~accessibilityIgnoresInvertColors: bool=?,
31+ ~accessibilityLabel: string=?,
2532 ~accessibilityRole: [@bs.string] [
2633 | `none
2734 | `button
@@ -37,23 +44,19 @@ external make:
3744 ]
3845 =?,
3946 ~accessibilityStates: array(AccessibilityState.t)=?,
47+ ~accessibilityTraits: array(AccessibilityTrait.t)=?,
4048 ~delayLongPress: int=?,
4149 ~delayPressIn: int=?,
4250 ~delayPressOut: int=?,
4351 ~disabled: bool=?,
4452 ~hitSlop: Types.edgeInsets=?,
45- ~style: Style.t=?,
4653 ~onLayout: Event.layoutEvent => unit=?,
4754 ~onLongPress: Event.pressEvent => unit=?,
4855 ~onPress: Event.pressEvent => unit=?,
4956 ~onPressIn: Event.pressEvent => unit=?,
5057 ~onPressOut: Event.pressEvent => unit=?,
5158 ~pressRetentionOffset: Types.edgeInsets=?,
52- ~activeOpacity: float=?,
53- ~focusedOpacity: float=?,
5459 ~testID: string=?,
55- // FIXME
56- ~tvParallaxProperties: Js.t({.})=?,
5760 ~children: React.element=?
5861 ) =>
5962 React.element =
@@ -62,4 +65,5 @@ external make:
6265[@bs.send]
6366external setOpacityTo: (ref, ~value: float, ~duration: float) => unit =
6467 "setOpacityTo";
68+
6569```
0 commit comments