Skip to content

Commit

Permalink
Merge pull request #27 from Al-Faiz-Ahmed/main
Browse files Browse the repository at this point in the history
docs: README.MD file inaccurate code snippet in theme Prop of "OtpInput" Component
  • Loading branch information
anday013 authored Nov 26, 2023
2 parents e4a7753 + efca896 commit 582de9c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ yarn add react-native-otp-entry
onTextChange={(text) => console.log(text)}
onFilled={(text) => console.log(`OTP is ${text}`)}
theme={{
containerStyle={styles.container},
inputsContainerStyle={styles.inputsContainer},
pinCodeContainerStyle={styles.pinCodeContainer},
pinCodeTextStyle={styles.pinCodeText},
focusStickStyle={styles.focusStick},
focusedPinCodeContainerStyle={styles.activePinCodeContainer}
containerStyle: styles.container,
inputsContainerStyle: styles.inputsContainer,
pinCodeContainerStyle: styles.pinCodeContainer,
pinCodeTextStyle: styles.pinCodeText,
focusStickStyle: styles.focusStick,
focusedPinCodeContainerStyle: styles.activePinCodeContainer
}}
/>
```
Expand Down

0 comments on commit 582de9c

Please sign in to comment.