API reference
Tabs.Tab
Give a page its identity, label, icon, and content.
Type: TabProps. View library source.
name
Required
stringUnique tab identity. Changing the names or their order remounts the pager.
icon
Optional
ReactNodeOptional tab-bar icon. The default bar supplies its tint through color and tintColor.
label
Optional
stringVisible and accessible label. With no label, the default bar shows name only when no icon is supplied; its accessible label always falls back to name.
badge
Optional
string | number | booleanBadge shown on this tab in the default tab bar. A string or number renders
as a count bubble; true renders a small dot, and false hides it. Custom tab bars receive it
on their TabConfig and can render it however they like.
children
Required
ReactNodePage content, normally one coordinated list wrapper.