import TabBarItem from './tab_bar_item' export default class TabBar extends PureComponent { static propTypes = { tabs: PropTypes.array, large: PropTypes.bool, } render() { const { tabs, large } = this.props return (
{ !!tabs && tabs.map((tab, i) => ( )) }
) } }