@cfxlabsinc/b2b-services
    Preparing search index...
    type PdfTemplateEditorProps = {
        activity?: React.ReactNode;
        draft: { id: number; version: number } | null;
        fetchPreview?: PdfPreviewFetch;
        hasDataSchema: boolean;
        initialBody: string;
        initialSampleData: string;
        liveVersion: number | null;
        templateKey: string;
        versions: readonly PdfTemplateEditorVersion[];
        write?: PdfTemplateEditorWrite;
    }
    Index
    activity?: React.ReactNode

    The activity feed, rendered by the host.

    draft: { id: number; version: number } | null
    fetchPreview?: PdfPreviewFetch

    Renders the working copy; absent for a reader, who sees no live preview.

    hasDataSchema: boolean

    Null for a library template, which renders through an importer's sample.

    initialBody: string

    The working copy: the draft if there is one, else live.

    initialSampleData: string
    liveVersion: number | null
    templateKey: string
    versions: readonly PdfTemplateEditorVersion[]

    Absent for a reader: no write control renders.