Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Tabs from '@material-ui/core/Tabs';
- import Tab from '@material-ui/core/Tab';
- import React from 'react';
- const statusList = [
- {
- value: 'rascunho',
- label: 'Rascunho',
- },
- {
- value: 'publicado',
- label: 'Publicado',
- },
- {
- value: 'recebendo',
- label: 'Recebendo Inscrições',
- },
- {
- value: 'finalizado',
- label: 'Finalizada',
- },
- {
- value: 'arquivado',
- label: 'Arquivada',
- },
- ];
- const TabComponent = () => (
- <Tabs aria-label="simple tabs example">
- {statusList.map((item) => (<Tab label={item.label} />))}
- </Tabs>
- );
- export default TabComponent;
Advertisement
Add Comment
Please, Sign In to add comment