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

    Function LogoutButton

    • A "Sign Out" button component that logs the user out of Firebase Auth.

      Parameters

      • __namedParameters: LogoutButtonProps

        The props for the LogoutButton component.

        • 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.

      Returns Element