mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-26 13:02:50 +00:00
fixes
This commit is contained in:
@@ -31,8 +31,9 @@ interface PasswordRequirementsProps {
|
||||
labels?: string[];
|
||||
}
|
||||
|
||||
/** Live checklist of password requirements, ticking off as the user types. */
|
||||
/** Live checklist of password requirements, ticking off as the user types. Hidden until the user starts typing. */
|
||||
export function PasswordRequirements({ password, minLength, labels }: PasswordRequirementsProps) {
|
||||
if (!password) return null;
|
||||
const rules = passwordRules(minLength);
|
||||
return (
|
||||
<Stack gap={6} mt={6}>
|
||||
|
||||
Reference in New Issue
Block a user