1 import { OtpInput } from "@medusajs/ui"
2 import { useState } from "react"
3
4 export default function OtpInputPin() {
5 const [pin, setPin] = useState("")
6 return (
7 <div className="w-[250px]">
8 <OtpInput value={pin} onChange={setPin} length={4} groupSize={4} />
9 </div>
10 )
11 }