@aldel/react-firebase-login
    Preparing search index...

    Type Alias LogoutButtonProps

    LogoutButtonProps: Omit<
        React.ButtonHTMLAttributes<HTMLButtonElement>,
        "onClick",
    > & { auth?: Auth; onLogOut?: () => void }

    The props for the LogoutButton component.

    Type declaration

    • Optionalauth?: Auth

      The Firebase Auth instance to use. If not provided, the default auth instance will be used.

    • OptionalonLogOut?: () => void

      An extra function to call when the user logs out.