ui-auth/dist/AuthModal.d.ts
autocommit 55daa6ed6a chore: initial package split from monorepo
Package: @lilith/ui-auth
Split from: lilith/ui.git or lilith/build.git
Publish workflow: calls lilith/workflows/.forgejo/workflows/publish-npm.yml@main
2026-04-20 01:10:50 -07:00

16 lines
No EOL
694 B
TypeScript

/**
* AuthModal Component
*
* Modal wrapper for LoginForm and RegisterForm with tab switching.
* Provides a complete embedded auth experience without popups.
*
* Supports two integration modes:
* 1. Direct SSO: Provide ssoUrl, forms make fetch calls directly
* 2. Provider-based: Provide authHandler, integrates with @lilith/auth-provider
*/
import type { AuthModalProps } from './types';
export declare const AuthModal: {
({ isOpen, onClose, ssoUrl, authHandler, onSuccess, onError, initialMode, defaultRole, hideRoleSelector, onMfaRequired, maxWidth, }: AuthModalProps): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
//# sourceMappingURL=AuthModal.d.ts.map