import React from 'react'; import { AppBar, Toolbar, Tabs, Tab } from '@material-ui/core'; import { makeStyles } from '@material-ui/core/styles'; interface PropTypes { page: string; setPage: (newPage: string) => void; } const useStyles = makeStyles(theme => ({ tab: { '& .MuiTab-wrapper': { padding: theme.spacing(2), flexDirection: 'row', fontSize: '0.8125rem' } } })); const tabs = ['Profile', 'Feed']; const Header: React.FC = ({ page /* , setPage */ }) => { const classes = useStyles(); const handleChange = () => {}; return ( {tabs.map((tab: string) => ( ))} ); }; export default Header;