DocPreviewfunction
import { DocPreview } from '@mortar-kit/admin/preview'
function DocPreview(props: DocPreviewProps): ElementA readable preview of any document: its title, its first image large,
then every other field under its label, then children (the body).
<PreviewPage> shows it for collections without a layout; a layout can
render it too, e.g. around a heading of its own.
Parameters
props: DocPreviewProps
Returns
Element