@newspapper/core
    Preparing search index...

    Interface WzdComponentSpec

    interface WzdComponentSpec {
        name: string;
        group: WzdComponentGroup;
        role: "structure" | "component";
        description: string;
        props: Record<string, WzdPropSpec>;
        children: WzdChildModel;
        allowedChildren?: readonly string[];
        requiredParent?: readonly string[];
        requiredAncestor?: string;
        void: boolean;
    }
    Index
    name: string
    role: "structure" | "component"

    Lowercase tags declare; capitalized tags draw.

    description: string
    props: Record<string, WzdPropSpec>
    children: WzdChildModel
    allowedChildren?: readonly string[]

    When set, only these tag names may be direct element children.

    requiredParent?: readonly string[]

    When set, the element must be a direct child of one of these.

    requiredAncestor?: string

    When set, the element must appear somewhere below this ancestor.

    void: boolean

    Conventionally printed self-closing (children: 'none').