Skip to content

Commit

Permalink
docs: readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
sachdevavaibhav committed Sep 24, 2024
1 parent b1641b7 commit d01be17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { PaperOtpInput } from 'react-native-paper-otp-input';
//work properly
<PaperOtpInput
maxLength={4}
onPinReady={(pin) => {
onPinChange={(pin) => {
console.log('Pin is ready:', pin);
}}
/>;
Expand Down
2 changes: 1 addition & 1 deletion example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default function App() {
<ScrollView contentContainerStyle={styles.scrollViewContainer}>
<PaperOtpInput
autoFocus={false}
onPinReady={(pin) => {
onPinChange={(pin) => {
console.log('Pin is ready:', pin);
}}
maxLength={4}
Expand Down

0 comments on commit d01be17

Please sign in to comment.