PinInput
PINまたはOTP(ワンタイムパスワード)を入力するためのコンポーネント。
使用法
astro
<PinInput length={6} name="otp" /> API リファレンス
| プロパティ | 説明 | タイプ | デフォルト |
|---|---|---|---|
| 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 | - |