import React, { useState } from 'react'; import ReactDOM from 'react-dom'; import { makeStyles, Button, Typography } from '@material-ui/core'; import { BenzinThemeProvider, Header, Window, ContentSection, SmartList, } from './lib'; import icon from './assets/icon.svg'; interface RenderPropTypes { index: number; style: React.CSSProperties; } const useStyles = makeStyles(theme => ({ window: { padding: theme.spacing(4), } })); const Icon = const headerContents = { home: null, page: null, 'another page': null, }; const renderItem: React.FC = ({ index, style}) => { return ( {index} ); }; const App: React.FC = () => { const classes = useStyles(); const [page, setPage] = useState('home'); return ( Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. secondary primary ); }; ReactDOM.render(, document.getElementById('root'));
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.