A facet payload object to be sorted by the manager.

interface FacetManagerPayload<T> {
    facetId: string;
    payload: T;
}

Type Parameters

  • T

Properties

Properties

facetId: string

A unique string identifying a facet.

payload: T

The payload to associate with the facetId. This can be anything e.g., a DOM element, JSX, a string.