← @mortar-kit/admin/preview

PreviewLayouttype

import { PreviewLayout } from '@mortar-kit/admin/preview'

type PreviewLayout = (doc: Doc, body: JSX.Element) => JSX.Element

Renders a document of one collection the way the site does, around its rendered body.