Module RefreshControl-BsReactNative

let make: ?⁠onRefresh:(unit => unit) => ?⁠refreshing:bool => ?⁠colors:array(string) => ?⁠enabled:bool => ?⁠progressBackgroundColor:string => ?⁠progressViewOffset:float => ?⁠tintColor:string => ?⁠title:string => ?⁠titleColor: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, unit);

Example of use

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

Props

onRefresh
onRefresh: unit => unit=?
refreshing
~refreshing: bool=?,
colors
~colors: array(string)=?,
enabled
~enabled: bool=?,
progressBackgroundColor
~progressBackgroundColor: string=?,
progressViewOffset
~progressViewOffset: float=?,
tintColor
~tintColor: string=?,
title
~title: string=?,
titleColor
~titleColor: string=?,

All other View props