@adonis-agora/authkit-react
Version:
Frontend ergonomics over AuthKit for AdonisJS + Inertia + React apps: a typed useAuth() hook, role-gating hooks and gating components.
11 lines (10 loc) • 436 B
TypeScript
export interface AuthorizedAppsProps {
className?: string;
revokeLabel?: string;
emptyLabel?: string;
}
declare function AuthorizedAppsInner({ className, revokeLabel, emptyLabel, }: AuthorizedAppsProps): import("react").DetailedReactHTMLElement<{
className: string;
}, HTMLElement>;
export declare function AuthorizedApps(props: Parameters<typeof AuthorizedAppsInner>[0]): import("react").JSX.Element | null;
export {};