Module TabBarIOS-BsReactNative.Item
let make: ?selected:bool => ?badge:string => ?icon:BsReactNative.Image.imageSource => ?onPress:(unit => unit) => ?renderAsOriginal:bool => ?badgeColor:string => ?selectedIcon:BsReactNative.Image.imageSource => ?style:BsReactNative.Style.t => ?systemIcon:[ `bookmarks | `contacts | `downloads | `favourites | `featured | `history | `more | `mostRecent | `mostViewed | `recents | `search | `topRated ] => ?title:string => ?isTVSelectable:bool => ?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 => ?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);
You can read more on
TabBatIOS.Item
component usage in official docs: https://facebook.github.io/react-native/docs/tabbarios-itemProps
selected
~selected: bool=?
badge
~badge: string=?
icon
~icon: Image.imageSource=?
reference:
type imageSource = [ | `URI(_imageURISource) | `Required(Packager.required) | `Multiple(list(_imageURISource)) ];
onPress
~onPress: unit => unit=?
renderAsOriginal
~renderAsOriginal: bool=?
badgeColor
~badgeColor: string=?
selectedIcon
~selectedIcon: Image.imageSource=?
style
~style: Style.t=?
systemIcon
~systemIcon: [ | `bookmarks | `contacts | `downloads | `favourites | `featured | `history | `more | `mostRecent | `mostViewed | `recents | `search | `topRated ]=?
title
~title: string=?,
style
~isTVSelectable: bool=?