mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
f9c6e12037
* update dependencies * add bsconfig refmt version * update to new syntax * add dependency on concurrently for dev convenience * fix dev script
13 lines
339 B
ReasonML
13 lines
339 B
ReasonML
let component = ReasonReact.statelessComponent("About");
|
|
|
|
let make = (_children) => {
|
|
...component,
|
|
render: (_self) =>
|
|
<div>
|
|
<Header />
|
|
<p> (ReasonReact.stringToElement("This is the about page.")) </p>
|
|
<Counter />
|
|
</div>
|
|
};
|
|
|
|
let jsComponent = ReasonReact.wrapReasonForJs(~component, (_jsProps) => make([||])); |