mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
27 lines
1,001 B
JavaScript
27 lines
1,001 B
JavaScript
|
// Generated by BUCKLESCRIPT VERSION 1.8.1, PLEASE EDIT WITH CARE
|
||
|
'use strict';
|
||
|
|
||
|
var React = require("react");
|
||
|
var Header = require("../components/header.js");
|
||
|
var Counter = require("../components/counter.js");
|
||
|
var ReasonReact = require("reason-react/lib/js/src/reasonReact.js");
|
||
|
|
||
|
var component = ReasonReact.statelessComponent("About");
|
||
|
|
||
|
function make() {
|
||
|
var newrecord = component.slice();
|
||
|
newrecord[/* render */9] = (function () {
|
||
|
return React.createElement("div", undefined, ReasonReact.element(/* None */0, /* None */0, Header.make(/* array */[])), React.createElement("p", undefined, "This is the about page."), ReasonReact.element(/* None */0, /* None */0, Counter.make(/* array */[])));
|
||
|
});
|
||
|
return newrecord;
|
||
|
}
|
||
|
|
||
|
var jsComponent = ReasonReact.wrapReasonForJs(component, (function () {
|
||
|
return make(/* array */[]);
|
||
|
}));
|
||
|
|
||
|
exports.component = component;
|
||
|
exports.make = make;
|
||
|
exports.jsComponent = jsComponent;
|
||
|
/* component Not a pure module */
|