CDP Frontend SDK
    Preparing search index...

    Type Alias AuthButtonSlots

    Component slots for the AuthButton.

    type AuthButtonSlots = {
        placeholder?: (
            props: Pick<HTMLAttributes<HTMLDivElement>, "className">,
        ) => ReactNode;
        signOutButton?: (props: Pick<SignOutButtonProps, "onSuccess">) => ReactNode;
        signInModal?: (
            props: Pick<SignInModalProps, "open" | "setIsOpen" | "onSuccess">,
        ) => ReactNode;
    }

    Hierarchy (View Summary)

    Index

    Properties

    placeholder?: (
        props: Pick<HTMLAttributes<HTMLDivElement>, "className">,
    ) => ReactNode

    The placeholder to render while the CDP SDK is initializing.

    signOutButton?: (props: Pick<SignOutButtonProps, "onSuccess">) => ReactNode

    The sign out button, rendered when the user is signed in.

    signInModal?: (
        props: Pick<SignInModalProps, "open" | "setIsOpen" | "onSuccess">,
    ) => ReactNode

    The sign in modal, rendered when the user is signed out.