You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
437 B
JavaScript
18 lines
437 B
JavaScript
"use strict";
|
|
|
|
const React = require("react");
|
|
|
|
const renderingContext = require("../rendering-context");
|
|
|
|
module.exports = function Reference({ path }) {
|
|
// NOTE: The below is currently broken!
|
|
// let { pageContext } = React.useContext(renderingContext);
|
|
// console.log("OTHER PAGE METAS", pageContext.getOtherPageMetas());
|
|
|
|
return (
|
|
<span className="reference">
|
|
[WIP: titled reference to <code>{path}</code>]
|
|
</span>
|
|
);
|
|
};
|