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 | - |