mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
18 lines
581 B
JavaScript
18 lines
581 B
JavaScript
|
// Generated by BUCKLESCRIPT VERSION 1.8.1, PLEASE EDIT WITH CARE
|
||
|
'use strict';
|
||
|
|
||
|
var Link = require("next/link");
|
||
|
var Js_boolean = require("bs-platform/lib/js/js_boolean.js");
|
||
|
var ReasonReact = require("reason-react/lib/js/src/reasonReact.js");
|
||
|
|
||
|
function make(href, $staropt$star, children) {
|
||
|
var prefetch = $staropt$star ? $staropt$star[0] : /* false */0;
|
||
|
return ReasonReact.wrapJsForReason(Link, {
|
||
|
prefetch: Js_boolean.to_js_boolean(prefetch),
|
||
|
href: href
|
||
|
}, children);
|
||
|
}
|
||
|
|
||
|
exports.make = make;
|
||
|
/* next/link Not a pure module */
|