Trilium Frontend API
    Preparing search index...

    Interface Context<T>

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

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index

    Properties

    Consumer: Consumer<T>
    defaultProps?: Partial<{ children?: ComponentChildren; value: T }>
    displayName?: string
    Provider: Provider<T>