import ResponsiveClassesComponent from '../features/ui/util/responsive_classes_component' import PillItem from './pill_item' /** * Renders pills components * @param {array} [props.pills] - tab bar data for creating `TabBarItem` */ export default class Pills extends PureComponent { static propTypes = { pills: PropTypes.array, } render() { const { pills } = this.props return ( { !!pills && pills.map((tab, i) => ( )) } ) } }