0.1.5 • Published 7 months ago

@solorev/currency-input v0.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

An accessible & unstyled Currency Input Component

Based on input-otp@1.4.1 @guilhermerodz

Its just a tiny algorithm tweek to the component and removal of autocomplete attribute. I'll try to remove all the unnecessary stuff later. Fully compatible with Shadcn Input OTP just change the imports as below

Usage

npm install @solorev/currency-input

I didn't even bother changing the exports so Import with {OTPInput} atm

+'use client'
-import { OTPInput } from 'input-otp'
+import { OTPInput } from '@solorev/currency-otp'

function MyForm() {
  return <form>
+   <OTPInput maxLength={6} render={({slots})  => (...)} />
  </form>
}
0.1.5

7 months ago

0.1.4

7 months ago

0.1.3

7 months ago

0.1.2

7 months ago

0.1.1

7 months ago

0.1.0

7 months ago