You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-6Lines changed: 19 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ A react-native confirmation code input for both IOS and Android
5
5
- A user-friendly component for inputting confirmation code
6
6
- Extended from [<TextInput/>](https://facebook.github.io/react-native/docs/textinput.html) component, so you can use its props
7
7
- Built-in type of code input: underline, box, circle
8
-
- Set position: center, left, right, fill width
8
+
- Set position: center, left, right, full width
9
9
- Set size and active color, inactive color
10
10
- Easy to customize style, use base style from TextInput component
11
11
- Check code on finish or return code for async checking
@@ -74,16 +74,14 @@ render() {
74
74
}
75
75
```
76
76
77
-
### Customization
78
-
79
-
### Properties
77
+
### props
80
78
This component uses the same props as [<TextInput/>](https://facebook.github.io/react-native/docs/textinput.html). Below are additional props for this component:
`onFulfill` | function | | callback function called when fulfilling code. If `compareWithCode` is null -> return `(code)` in callback, else return `(isValid, code)`. **Required**
0 commit comments