7f471a4463
* Lock bs-platform to 5.0.3 (avoiding issues with reason language server) https://github.com/jaredly/reason-language-server/issues/275 * Reformat code * Ask bucklescript to use es6 instead of commonjs * Rework getInitialProps (can now use a promise) * Ignore .bsb.lock
15 lines
346 B
ReasonML
15 lines
346 B
ReasonML
let styles = ReactDOMRe.Style.make(~marginRight="10px", ());
|
|
|
|
[@react.component]
|
|
let make = () => {
|
|
<div>
|
|
<Next.Link href="/">
|
|
<a style=styles> {ReasonReact.string("Home")} </a>
|
|
</Next.Link>
|
|
<Next.Link href="/about">
|
|
<a style=styles> {ReasonReact.string("About")} </a>
|
|
</Next.Link>
|
|
</div>;
|
|
};
|
|
|
|
let default = make;
|