UNPKG

@phntms/ft-react-components

Version:

A collection of UI/utility React/NextJS components for Phantom FT sites

24 lines 962 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var react_1 = __importDefault(require("react")); var PreviewMessage = function () { return (react_1.default.createElement("div", { style: { backgroundColor: "#cc3355", color: "white", padding: "32px", textAlign: "center", } }, react_1.default.createElement("p", { style: { fontSize: "36px", lineHeight: "42px", fontWeight: "bold", textTransform: "uppercase", margin: "0", } }, "Preview"), react_1.default.createElement("a", { style: { color: "inherit" }, href: "/api/unpreview" }, "Disable preview mode"))); }; exports.default = PreviewMessage; //# sourceMappingURL=index.js.map