mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-26 19:12:50 +00:00
fixes
This commit is contained in:
@@ -31,8 +31,9 @@ interface PasswordRequirementsProps {
|
|||||||
labels?: string[];
|
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) {
|
export function PasswordRequirements({ password, minLength, labels }: PasswordRequirementsProps) {
|
||||||
|
if (!password) return null;
|
||||||
const rules = passwordRules(minLength);
|
const rules = passwordRules(minLength);
|
||||||
return (
|
return (
|
||||||
<Stack gap={6} mt={6}>
|
<Stack gap={6} mt={6}>
|
||||||
|
|||||||
Reference in New Issue
Block a user