Module ProgressViewIOS-BsReactNative
let make: progress:float => ?progressImage:BsReactNative.Image.imageSource => ?progressTintColor:string => ?progressViewStyle:BsReactNative.Style.t => ?trackImage:BsReactNative.Image.imageSource => ?trackTintColor:string => ?accessibilityLabel:ReasonReact.reactElement => ?accessible:bool => ?hitSlop:BsReactNative.Types.insets => ?onAccessibilityTap:(unit => unit) => ?onLayout:(BsReactNative.RNEvent.NativeLayoutEvent.t => unit) => ?onMagicTap:(unit => unit) => ?responderHandlers:BsReactNative.Types.touchResponderHandlers => ?pointerEvents:BsReactNative.Types.pointerEvents => ?removeClippedSubviews:bool => ?style:BsReactNative.Style.t => ?testID:string => ?accessibilityComponentType:BsReactNative.Types.accessibilityComponentType => ?accessibilityLiveRegion:BsReactNative.Types.accessibilityLiveRegion => ?collapsable:bool => ?importantForAccessibility:BsReactNative.Types.importantForAccessibility => ?needsOffscreenAlphaCompositing:bool => ?renderToHardwareTextureAndroid:bool => ?accessibilityTraits:list(BsReactNative.Types.accessibilityTrait) => ?accessibilityRole:BsReactNative.Types.accessibilityRole => ?accessibilityStates:list(BsReactNative.Types.accessibilityState) => ?accessibilityHint:string => ?accessibilityIgnoresInvertColors:bool => ?accessibilityViewIsModal:bool => ?shouldRasterizeIOS:bool => array(ReasonReact.reactElement) => ReasonReact.component(ReasonReact.stateless, ReasonReact.noRetainedProps, ReasonReact.actionless);
Use
ProgressViewIOS
https://facebook.github.io/react-native/docs/progressviewios to render aUIProgressView
on iOS.Example of use
let component = ReasonReact.statelessComponent("MyComponent"); let make = _children => { ...component, render: _self => <ProgressViewIOS progress=0.4 progressTintColor="tomato" />, };
Props
progress
~progress: float
progressImage
~progressImage: Image.imageSource=?
progressTintColor
~progressTintColor: string=?
progressViewStyle
~progressViewStyle: Style.t=?
trackImage
trackImage: Image.imageSource=?
trackTintColor
~trackTintColor: string=?