@lens-protocol/react
Version:
Interacting with the Lens Protocol API using React.
17 lines (16 loc) • 423 B
TypeScript
import { InvitedResult } from '@lens-protocol/api-bindings';
import { ReadResult } from "../helpers/reads.js";
/**
* Fetch all invited profiles.
*
* You MUST be authenticated via {@link useLogin} to use this hook.
*
* @example
* ```tsx
* const { data, error, loading } = useInvitedProfiles();
* ```
*
* @category Misc
* @group Hooks
*/
export declare function useInvitedProfiles(): ReadResult<InvitedResult[]>;