1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/examples/with-reasonml/pages/index.re
2018-04-26 20:35:30 -07:00

14 lines
331 B
ReasonML

let component = ReasonReact.statelessComponent("Index");
let make = (_children) => {
...component,
render: (_self) =>
<div>
<Header />
<p> (ReasonReact.stringToElement("HOME PAGE is here!")) </p>
<Counter />
</div>
};
let default = ReasonReact.wrapReasonForJs(~component, (_jsProps) => make([||]));