Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/components/pages/User/PasswordStrengthBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ const PasswordStrengthBar = React.lazy(
)

/**
* PasswordStrengthBarWrapper component's parameter type.
* @typedef {Object} PasswordStrengthBarWrapperArgs
* @property {string} currentPassword
* @property {(number, PasswordFeedback) => void} scoreChangeCallback
* @property {string} currentPassword The password to check.
* @property {(number, PasswordFeedback) => void} scoreChangeCallback A function which receives the password's strength and reacts to it.
*/
type PasswordStrengthBarWrapperArgs = {
currentPassword: string
Expand Down