CreatePasswordButton
CreatePasswordButton is a sub-component of the CreatePassword organism.
Basic Usage
Note: The button will always be disabled until the acceptable password strength is met
import { CreatePassword, CreatePasswordButton } from '@krakentech/coral-organisms';
<CreatePassword>
<CreatePasswordButton
buttonText="Set my password"
acceptablePasswordStrength={4}
>
Set my password
</CreatePasswordButton>
</CreatePassword>Full API
| Name | Type | Default |
|---|---|---|
buttonText | string | |
acceptablePasswordStrength | numberFrom 0 (weakest) - 4 (strongest), what is the minimum level password that should be acceptable? |
Last updated on