Interface ActorProviderProps

interface ActorProviderProps {
    name?: string;
    withVisitor?: boolean;
    withDevtools?: boolean;
    initializeOnCreate?: boolean;
    children?: ReactNode;
    candidString?: string;
    fetchingComponent?: ReactNode;
    errorComponent?: ((error) => ReactNode);
    loadingComponent?: ReactNode;
    authenticatingComponent?: ReactNode;
    didjsId?: string;
    canisterId?: types.CanisterId;
    idlFactory?: types.IDL.InterfaceFactory;
    disableAutoFetch?: boolean;
}

Hierarchy (view full)

Properties

name?: string
withVisitor?: boolean
withDevtools?: boolean
initializeOnCreate?: boolean
children?: ReactNode
candidString?: string
fetchingComponent?: ReactNode
errorComponent?: ((error) => ReactNode)

Type declaration

    • (error): ReactNode
    • Parameters

      • error: string

      Returns ReactNode

loadingComponent?: ReactNode
authenticatingComponent?: ReactNode
didjsId?: string
canisterId?: types.CanisterId
disableAutoFetch?: boolean