blob: 512d416b3eae23f6f8bb0076a58663d3b5df9467 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
import React from 'react';
import ReactDOM from 'react-dom';
import styled from 'styled-components';
import CssBaseline from '@material-ui/core/CssBaseline'
import Header from "./components/Header";
const App = () => (
<Root>
<CssBaseline/>
<Header/>
<p> Page content here </p>
</Root>
);
const Root = styled.div`
background: lightgrey;
`;
ReactDOM.render(<App />, document.getElementById('root'));
|