Trilium Frontend API
    Preparing search index...

    Interface Consumer<T>

    interface Consumer<T> {
        defaultProps?: Partial<{ children: (value: T) => ComponentChildren }>;
        displayName?: string;
        (
            props: RenderableProps<{ children: (value: T) => ComponentChildren }>,
            context?: any,
        ): ComponentChildren;
    }

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index

    Properties

    defaultProps?: Partial<{ children: (value: T) => ComponentChildren }>
    displayName?: string