|
| 1 | +--- |
| 2 | +id: components/ProgressViewIOS |
| 3 | +title: ProgressViewIOS |
| 4 | +wip: true |
| 5 | +--- |
| 6 | + |
| 7 | +```reason |
| 8 | +type element; |
| 9 | +type ref = React.Ref.t(Js.nullable(element)); |
| 10 | +
|
| 11 | +[@react.component] [@bs.module "react-native"] |
| 12 | +external make: |
| 13 | + ( |
| 14 | + ~ref: ref=?, |
| 15 | + ~progress: float, |
| 16 | + ~progressImage: Image.Source.t=?, |
| 17 | + ~progressTintColor: Style.color=?, |
| 18 | + ~progressViewStyle: [@bs.string] [ | `default | `bar]=?, |
| 19 | + ~trackImage: Image.Source.t=?, |
| 20 | + ~trackTintColor: Style.color=?, |
| 21 | + // View props |
| 22 | + ~accessibilityComponentType: [@bs.string] [ |
| 23 | + | `none |
| 24 | + | `button |
| 25 | + | `radiobutton_checked |
| 26 | + | `radiobutton_unchecked |
| 27 | + ] |
| 28 | + =?, |
| 29 | + ~accessibilityElementsHidden: bool=?, |
| 30 | + ~accessibilityHint: string=?, |
| 31 | + ~accessibilityIgnoresInvertColors: bool=?, |
| 32 | + ~accessibilityLabel: string=?, |
| 33 | + ~accessibilityLiveRegion: [@bs.string] [ | `none | `polite | `assertive]=?, |
| 34 | + ~accessibilityRole: [@bs.string] [ |
| 35 | + | `none |
| 36 | + | `button |
| 37 | + | `link |
| 38 | + | `search |
| 39 | + | `image |
| 40 | + | `keyboardkey |
| 41 | + | `text |
| 42 | + | `adjustable |
| 43 | + | `header |
| 44 | + | `summary |
| 45 | + | `imagebutton |
| 46 | + ] |
| 47 | + =?, |
| 48 | + ~accessibilityStates: array(AccessibilityState.t)=?, |
| 49 | + ~accessibilityTraits: array(AccessibilityTrait.t)=?, |
| 50 | + ~accessibilityViewIsModal: bool=?, |
| 51 | + ~accessible: bool=?, |
| 52 | + ~collapsable: bool=?, |
| 53 | + ~hitSlop: Types.insets=?, |
| 54 | + ~importantForAccessibility: [@bs.string] [ |
| 55 | + | `auto |
| 56 | + | `yes |
| 57 | + | `no |
| 58 | + | [@bs.as "no-hide-descendants"] |
| 59 | + `noHideDescendants |
| 60 | + ] |
| 61 | + =?, |
| 62 | + ~nativeID: string=?, |
| 63 | + ~needsOffscreenAlphaCompositing: bool=?, |
| 64 | + ~onAccessibilityTap: unit => unit=?, |
| 65 | + ~onLayout: Event.layoutEvent => unit=?, |
| 66 | + ~onMagicTap: unit => unit=?, |
| 67 | + // Gesture Responder props |
| 68 | + ~onMoveShouldSetResponder: Event.pressEvent => bool=?, |
| 69 | + ~onMoveShouldSetResponderCapture: Event.pressEvent => bool=?, |
| 70 | + ~onResponderGrant: Event.pressEvent => unit=?, |
| 71 | + ~onResponderMove: Event.pressEvent => unit=?, |
| 72 | + ~onResponderReject: Event.pressEvent => unit=?, |
| 73 | + ~onResponderRelease: Event.pressEvent => unit=?, |
| 74 | + ~onResponderTerminate: Event.pressEvent => unit=?, |
| 75 | + ~onResponderTerminationRequest: Event.pressEvent => unit=?, |
| 76 | + ~onStartShouldSetResponder: Event.pressEvent => bool=?, |
| 77 | + ~onStartShouldSetResponderCapture: Event.pressEvent => bool=?, |
| 78 | + ~pointerEvents: [@bs.string] [ |
| 79 | + | `auto |
| 80 | + | `none |
| 81 | + | [@bs.as "box-none"] `boxNone |
| 82 | + | [@bs.as "box-only"] `boxOnly |
| 83 | + ] |
| 84 | + =?, |
| 85 | + ~removeClippedSubviews: bool=?, |
| 86 | + ~renderToHardwareTextureAndroid: bool=?, |
| 87 | + ~shouldRasterizeIOS: bool=?, |
| 88 | + ~style: Style.t=?, |
| 89 | + ~testID: string=?, |
| 90 | + ~children: React.element=? |
| 91 | + ) => |
| 92 | + React.element = |
| 93 | + "ProgressViewIOS"; |
| 94 | +
|
| 95 | +``` |
0 commit comments