mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
31 lines
850 B
JavaScript
31 lines
850 B
JavaScript
|
// Generated by BUCKLESCRIPT VERSION 1.8.1, PLEASE EDIT WITH CARE
|
||
|
'use strict';
|
||
|
|
||
|
var React = require("react");
|
||
|
var ReasonReact = require("reason-react/lib/js/src/reasonReact.js");
|
||
|
|
||
|
var component = ReasonReact.statelessComponent("Header");
|
||
|
|
||
|
var styles = {
|
||
|
marginRight: "10px"
|
||
|
};
|
||
|
|
||
|
function make() {
|
||
|
var newrecord = component.slice();
|
||
|
newrecord[/* render */9] = (function () {
|
||
|
return React.createElement("div", undefined, React.createElement("a", {
|
||
|
style: styles,
|
||
|
href: "/"
|
||
|
}, "Home"), React.createElement("a", {
|
||
|
style: styles,
|
||
|
href: "/about"
|
||
|
}, "About"));
|
||
|
});
|
||
|
return newrecord;
|
||
|
}
|
||
|
|
||
|
exports.component = component;
|
||
|
exports.styles = styles;
|
||
|
exports.make = make;
|
||
|
/* component Not a pure module */
|