Skip to content

Commit a2c24bb

Browse files
committed
📝 Update Readme
1 parent df6f9bd commit a2c24bb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ A fully customizable, one-time password input component for the web built with R
66

77
[Live Demo](https://devfolioco.github.io/react-otp-input)
88

9+
[CodeSandbox](https://codesandbox.io/s/0y849kwoqv)
10+
911
## Installation
1012

1113
To install the latest stable version:
@@ -27,10 +29,10 @@ export default class App extends Component {
2729
<OtpInput
2830
onChange={otp => console.log(otp)}
2931
numInputs={6}
30-
separator={<span>-<span>}
32+
separator={<span>-</span>}
3133
/>
3234
</div>
33-
)
35+
);
3436
}
3537
}
3638
```

0 commit comments

Comments
 (0)