function SignOutButton(props?: SignOutButtonProps): Element;
props?
SignOutButtonProps
Element
// Render a sign out button <SignOutButton onSuccess={() => console.log("Sign out success")} />
// Render a sign out button with a custom label, size, and variant <SignOutButton size="sm" variant="secondary">Log out</SignOutButton>
// Render a sign out button with a custom button element <SignOutButton asChild> <button className="custom-button">Log out</button> </SignOutButton>
Was this page helpful?