Skip to content

Commit dca13ec

Browse files
committed
Added symbol and locale proptype
1 parent 23064b6 commit dca13ec

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-input-validator",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "React native input with floating label and data validation",
55
"main": "index.js",
66
"scripts": {
@@ -26,7 +26,8 @@
2626
"validate",
2727
"validation",
2828
"floating",
29-
"labels"
29+
"labels",
30+
"placeholder"
3031
],
3132
"peerDependencies": {
3233
"validator": "^11.0.0"

src/InputText.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,8 @@ class InputText extends Component {
362362
InputText.propTypes = {
363363
type: PropTypes.string,
364364
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
365+
symbol: PropTypes.string,
366+
locale: PropTypes.string,
365367
onBlur: PropTypes.func,
366368
onFocus: PropTypes.func,
367369
onChangeText: PropTypes.func,

0 commit comments

Comments
 (0)