Bottom Tabs

Bottom Tabs provides bottom navigation.

 import { RadioGroup } from '../components'
 
 <RadioGroup
    items={items}
    selectedIndex={tab1State}
    onChange={index => setTab1State(index)}
    topUnderline
 />

Tabs also may contain icons, to provide a better user interfaces

import { RadioGroup } from '../components'
 
 <RadioGroup
    items={[
        <Icon name={'staro'} size={20} />,
        <Icon name={'staro'} size={20} />,
        <Icon name={'staro'} size={20} />,
    ]}
    selectedIndex={tab1State}
    onChange={index => setTab1State(index)}
    topUnderline
 />

Last updated