Skip to content

Commit

Permalink
Merge pull request #2 from Demonbruster/main
Browse files Browse the repository at this point in the history
  • Loading branch information
SectionTN authored Jul 8, 2024
2 parents f8deb3e + 6a12fdc commit d388f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ You may need to import type `OTPTextViewHandle` to use the `ref` on the componen
```typescript jsx
import { OTPTextInput, type OTPTextInputHandle } from '@sectiontn/otp-input';
// Later in your component.
const OTPRef = useRef<OTPTextInputHandle || null>(null);
const OTPRef = useRef<OTPTextInputHandle | null>(null);
```
## ♻ Usage
Call the `OTPTextInput` component in your JSX code and pass the required props to customize the OTP input field.
Expand Down

0 comments on commit d388f4e

Please sign in to comment.