UNPKG

strapi-plugin-preview-button

Version:

A plugin for Strapi CMS that adds a preview button and live view button to the content manager edit view.

22 lines (21 loc) 635 B
import { jsxs, Fragment, jsx } from "react/jsx-runtime"; import { L as Layouts, B as getTranslation, b as Page } from "./index-BeJ5xETY.mjs"; import { useIntl } from "react-intl"; const NoPermissions = () => { const { formatMessage } = useIntl(); return /* @__PURE__ */ jsxs(Fragment, { children: [ /* @__PURE__ */ jsx( Layouts.Header, { title: formatMessage({ id: getTranslation("header.name"), defaultMessage: "Content" }) } ), /* @__PURE__ */ jsx(Layouts.Content, { children: /* @__PURE__ */ jsx(Page.NoPermissions, {}) }) ] }); }; export { NoPermissions };