diff --git a/README.md b/README.md
index 9af9add..33c1cbc 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
-# Svelte Otp
+# Svelte Otp
[](https://app.travis-ci.com/shubhadip/svelte-otp)
@@ -7,7 +7,7 @@
[](https://app.netlify.com/sites/svelte-otp/deploys)
-A Otp Component that can be used with Svelte.
+A Otp Component that can be used with Svelte.
# Install
``` bash
@@ -28,10 +28,10 @@ To view a demo online:
To view demo examples locally clone the repo and run `npm install && npm run dev`
``` javascript
-import SvelteOtp from 'svelte-otp';
+import OtpInput from 'svelte-otp';
-// main
-
+
```
***numberOfInputs* along with *separator*prop**
``` html
-
+
```
**Using *numberOfInputs*, *separator* and *placeholder* props**
``` html
-
+
```
**Masking Input**
``` html
-
+
```
**Change Focus on Input/Delete**
``` html
- void};
function handleClick() {
- console.log('value on click',
+ console.log('value on click',
otpInstance?.getValue());
}
...
-
@@ -95,7 +95,7 @@ function callbackFunction(event: CustomEvent) {
function handlePrefill() {
value = '123456';
}
-