Phantom Stories Library - v0.0.8
    Preparing search index...

    Interface ResourceEmptyProps<T, Q>

    Props for the Empty component, used when the Resource is in an Empty state.

    interface ResourceEmptyProps<T, Q> {
        params?: Q;
        resource: Resource<T, Q>;
    }

    Type Parameters

    • T

      The type of the data in Data state (unused in Empty).

    • Q

      The type of optional parameters.

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    params?: Q

    Optional parameters associated with the Empty state.

    resource: Resource<T, Q>

    The Resource instance to render.