Steps to customize theme for Footer Tabs attributes:
| Property | Description |
|---|---|
| tabBarTextColor | Text color when inactive |
| tabBarActiveTextColor | Text color when active |
| tabActiveBgColor | Tab background color when active |
Syntax
import React, { Component } from 'react-native';
import { Container, Content, Footer, FooterTab, Button, Icon } from 'native-base';
import myTheme from './Themes/myTheme';
export default class ThemeFooterTabsExample extends Component {
render() {
return (
<Container>
<Conent theme={myTheme} />
<Footer >
<FooterTab>
<Button>
Apps
<Icon name='ios-apps-outline' />
</Button>
<Button>
Camera
<Icon name='ios-camera-outline' />
</Button>
<Button active>
Navigate
<Icon name='ios-compass' />
</Button>
<Button>
Contact
<Icon name='ios-contact-outline' />
</Button>
</FooterTab>
</Footer>
</Container>
);
}
}