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

    Interface ResourceQueryProps<T, Q>

    Props for the Query component, used when the Resource is in a Query state.

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

    Type Parameters

    • T

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

    • Q

      The type of optional parameters.

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    params?: Q

    Optional parameters associated with the Query state.

    resource: Resource<T, Q>

    The Resource instance to render.