PinInput
Un componente para ingresar un PIN o OTP (Contraseña de un solo uso).
Uso
astro
<PinInput length={6} name="otp" /> Referencia de la API
| Propiedad | Descripción | Tipo | Por defecto |
|---|---|---|---|
| length | The number of characters in the PIN. | number | 4 |
| error | Error state or message. | string | boolean | - |
| name | The name of the hidden input used for form submission. | string | - |