Skip to content

Commit 6aa0d58

Browse files
committed
Some Patch Work
1 parent 076ea43 commit 6aa0d58

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

dist/OtpInput.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/utils/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/OtpInput.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { View,TextInput } from 'react-native';
33

44
const OtpInput = ({ digits, otpRef, style, setOtp, otp, _render }) => {
55
return(
6-
<View style={{ flex: 1 }}>
6+
<View style={{ width: '100%' }}>
77
<TextInput
88
maxLength={ digits }
99
ref={ otpRef }

src/utils/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ export const styles = StyleSheet.create({
2727
minHeight: 40
2828
},
2929
textStyles: {
30-
width: '100%',
3130
textAlign: 'center',
3231
fontSize: 16
3332
},

0 commit comments

Comments
 (0)