UNPKG

@adonis-agora/authkit-react

Version:

Frontend ergonomics over AuthKit for AdonisJS + Inertia + React apps: a typed useAuth() hook, role-gating hooks and gating components.

9 lines (8 loc) 302 B
export interface UserButtonProps { profileLabel?: string; signOutLabel?: string; className?: string; } export declare function UserButton({ profileLabel, signOutLabel, className, }: UserButtonProps): import("react").DetailedReactHTMLElement<{ className: string; }, HTMLElement> | null;