Components may implement this interface to convey any associated ActionContext.

interface Contextual {
    [context]?: ActionContext;
    context: unique symbol;
    contextOf(subject: unknown): ActionContext | undefined;
    setContextOf(subject: {}, context?: ActionContext): void;
}

Properties

Properties

[context]?: ActionContext