Skip to main content

TabController.TabPage

TabController's TabPage component
(code example)

Usage#

<TabController.TabPage key={'key1'} lazy index={index}>

API#

index#

The index of the the TabPage
number

lazy#

Whether this page should be loaded lazily
boolean

lazyLoadTime#

How long to wait till lazy load complete (good for showing loader screens)
number

renderLoading#

Render a custom loading page when lazy loading
() => JSX.Element

testID#

The component test id
string