TabBar.Item

TabBar.Item, inner component of TabBar for configuring the tabs

PROPS

namedescriptiontypedefault
iconicon of the tabnumber
iconColoricon tint colorstring
iconSelectedColoricon selected tint colorstring
labellabel of the tabstring
labelStylecustom label stylecustom
maxLinesmaximun number of lines the label can breaknumber1
selectedLabelStylecustom selected tab label stylecustom
selectedwhether the tab is selected or notbool
onPresscallback for when pressing a tabfunc
showDividerwhether the tab will have a divider on its rightbool
widthA fixed width for the itemnumber
onLayoutA callback to invoke for onLayout eventfunc

CODE SAMPLE

See example here.