Skip to content

Commit

Permalink
add example link in readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
satyam-seth committed Oct 13, 2024
1 parent 92e6da5 commit b616d6b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ A customizable and easy-to-use OTP (One-Time Password) input field component for
- [Installation](#installation)
- [Usage](#usage)
- [API Reference](#api-reference)
- [Example](#example)
- [License](#license)
- [Contributing](#contributing)

## Features

Expand Down Expand Up @@ -92,6 +94,10 @@ const otpValue = otpField.value;
- `build(parentElement: HTMLElement)`: Builds the OTP field and appends it to the specified parent element.
- `destroy()`: Removes the OTP field element from the DOM.
## Example
You can check out the example [here](https://github.com/satyam-seth/otp-field-example)
## License
This package is licensed under the MIT License. See the [LICENSE](https://github.com/satyam-seth/otp-field/blob/main/LICENSE) file for details.
Expand Down

0 comments on commit b616d6b

Please sign in to comment.