• useListItinerariesQuery

    To run a query within a React component, call useListItinerariesQuery and pass it any options that fit your needs. When your component renders, useListItinerariesQuery returns an object from Apollo Client that contains loading, error, and data properties you can use to render your UI.

    Example

    const { data, loading, error } = useListItinerariesQuery({
    variables: {
    profileId: // value for 'profileId'
    first: // value for 'first'
    after: // value for 'after'
    },
    });

    Parameters

    Returns QueryResult<ListItinerariesQuery, Exact<{
        after?: InputMaybe<string>;
        first: number;
        profileId: string;
    }>>

Generated using TypeDoc