Add Text various missing props (dataDetectorTypes, disabled, maxFontS… · rescript-react-native/rescript-react-native@635066c
11include NativeElement;
223+type dataDetectorType = [
4+| `phoneNumber
5+| `link
6+| `address
7+| `calendarEvent
8+| `none
9+| `all
10+];
11+312type ellipsizeMode = [ | `clip | `head | `middle | `tail];
413514type textBreakStrategy = [ | `simple | `highQuality | `balanced];
@@ -9,31 +18,47 @@ external make:
918 (
1019 ~ref: ref=?,
1120 // Text props
12- ~accessible: bool=?,
1321 ~accessibilityHint: string=?,
1422 ~accessibilityLabel: string=?,
15- // `accessibilityRole` communicates the purpose of a component to the user of an assistive technology.
16- // roles that are specific for react-native-web are also included:
17- // article, banner, complementary, contentinfo, form, list, listItem, main, navigation, region
1823 ~accessibilityRole: Accessibility.role=?,
19- ~ariaLevel: int=?,
24+ ~accessibilityState: Accessibility.state=?,
25+ ~accessible: bool=?,
26+ ~adjustsFontSizeToFit: bool=?,
2027 ~allowFontScaling: bool=?,
28+ ~ariaLevel: int=?,
29+ ~children: React.element=?,
30+ ~dataDetectorTypes: array(dataDetectorType)=?,
31+ ~disabled: bool=?,
2132 ~ellipsizeMode: ellipsizeMode=?,
33+ ~maxFontSizeMultiplier: int=?,
34+ ~minimumFontScale: float=?,
35+ ~nativeID: string=?,
2236 ~numberOfLines: int=?,
2337 ~onLayout: Event.layoutEvent => unit=?,
2438 ~onLongPress: Event.pressEvent => unit=?,
2539 ~onPress: Event.pressEvent => unit=?,
40+ ~onTextLayout: Event.textLayoutEvent => unit=?,
2641 ~pressRetentionOffset: View.edgeInsets=?,
2742 ~selectable: bool=?,
43+ ~selectionColor: string=?,
2844 ~style: Style.t=?,
45+ ~suppressHighlighting: bool=?,
2946 ~testID: string=?,
30- ~selectionColor: string=?,
3147 ~textBreakStrategy: textBreakStrategy=?,
32- ~adjustsFontSizeToFit: bool=?,
33- ~minimumFontScale: float=?,
34- ~suppressHighlighting: bool=?,
3548 ~value: string=?,
36- ~children: React.element=?,
49+ // Gesture Responder props
50+ ~onMoveShouldSetResponder: Event.pressEvent => bool=?,
51+ ~onMoveShouldSetResponderCapture: Event.pressEvent => bool=?,
52+ ~onResponderEnd: Event.pressEvent => unit=?,
53+ ~onResponderGrant: Event.pressEvent => unit=?,
54+ ~onResponderMove: Event.pressEvent => unit=?,
55+ ~onResponderReject: Event.pressEvent => unit=?,
56+ ~onResponderRelease: Event.pressEvent => unit=?,
57+ ~onResponderStart: Event.pressEvent => unit=?,
58+ ~onResponderTerminate: Event.pressEvent => unit=?,
59+ ~onResponderTerminationRequest: Event.pressEvent => bool=?,
60+ ~onStartShouldSetResponder: Event.pressEvent => bool=?,
61+ ~onStartShouldSetResponderCapture: Event.pressEvent => bool=?,
3762 // React Native Web Props
3863 ~rel: [@bs.string] [
3964| `alternate