Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

43 lines (37 sloc) 745 Bytes
%raw
{| import { createGlobalStyle } from "styled-components" |};
module GlobalStyles = {
let styles = [%raw
{|
createGlobalStyle`
body {
margin: 0;
font-family: Helvetica, Arial, sans-serif;
}
h1, h2, h3 {
font-weight: normal;
}
img {
display: block;
max-width: 100%;
}
a {
cursor: pointer;
}
`
|}
];
[@react.component]
let make = () => {
React.createElementVariadic(styles, makeProps(), [||]);
};
};
ReactDOMRe.renderToElementWithId(
<>
<GlobalStyles />
<Router.WithRouter>
...{(~currentRoute) => <App currentRoute />}
</Router.WithRouter>
</>,
"root",
);
You can’t perform that action at this time.