@activecollab/components
Version:
ActiveCollab Components
13 lines • 552 B
TypeScript
import { ReactElement } from "react";
export interface TwoFactorShieldProps {
/** When true, 2FA isn't set up yet for the logged-in user: the shield is
* dimmed and clickable, and the tooltip prompts to enable it. Otherwise it
* reads as "enabled" (the default). Mirrors `isLoggedUser2FADisabled`. */
needsSetup?: boolean;
className?: string;
}
export declare const TwoFactorShield: {
({ needsSetup, className, }: TwoFactorShieldProps): ReactElement;
displayName: string;
};
//# sourceMappingURL=TwoFactorShield.d.ts.map