@cimpress/react-components
Version:
React components to support the MCP styleguide
23 lines • 1.27 kB
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const react_1 = __importDefault(require("react"));
const react_components_1 = require("@cimpress/react-components");
const fourohfour_jsx_1 = __importDefault(require("!raw-loader!./fourohfour.jsx"));
const fourohfour_jsx_2 = __importDefault(require("./fourohfour.jsx"));
const TabbedComponentDoc_1 = __importDefault(require("../../shared/TabbedComponentDoc"));
const FourOhFourDocs = () => {
const message = {
name: 'message',
type: 'node',
default: '"Oops! Something has gone wrong and the page you were looking for could not be displayed. Try the homepage."',
description: 'Text to give a user suggestions for next steps when the get a 404 error.',
};
return (react_1.default.createElement(TabbedComponentDoc_1.default, { name: "404", propInfos: [message] },
react_1.default.createElement(fourohfour_jsx_2.default, null),
react_1.default.createElement(react_components_1.CodeExample, { code: fourohfour_jsx_1.default })));
};
exports.default = FourOhFourDocs;
//# sourceMappingURL=index.js.map