structured-render - v2.17.1
    Preparing search index...

    Type Alias StructuredRenderListItem<IconKey>

    A single item within a StructuredRenderList.

    type StructuredRenderListItem<IconKey extends string = string> = {
        content?:
            | ListItemContent<IconKey>
            | (ListItemContent<IconKey> | null | undefined)[]
            | null;
        icon?: StructuredRenderIcon<IconKey> | null;
        sources?: (StructuredRenderSource | null | undefined)[] | null;
    }

    Type Parameters

    • IconKey extends string = string
    Index
    content?:
        | ListItemContent<IconKey>
        | (ListItemContent<IconKey> | null | undefined)[]
        | null

    Replaces the bullet. If a given icon key is not found in the supported list of icons, it is ignored.

    sources?: (StructuredRenderSource | null | undefined)[] | null