Skip to content

Commit efc0728

Browse files
committed
Value feature is added for TextInput
1 parent dff40f0 commit efc0728

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"lint": "eslint ."
1111
},
1212
"dependencies": {
13-
"@paraboly/react-native-input-bar": "0.0.2",
13+
"@paraboly/react-native-input-bar": "0.0.4",
1414
"react": "16.9.0",
1515
"react-native": "0.61.5",
1616
"react-native-androw": "0.0.34",

lib/src/InputBar.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const { width: ScreenWidth } = Dimensions.get("window");
1515
const InputBar = props => {
1616
const {
1717
width,
18+
value,
1819
bottom,
1920
height,
2021
textColor,
@@ -66,6 +67,7 @@ const InputBar = props => {
6667
<Androw style={_container(shadowColor, bottom)}>
6768
<View style={_containerGlue(height, width, backgroundColor)}>
6869
<TextInput
70+
value={value}
6971
placeholder={placeholder}
7072
onChangeText={onChangeText}
7173
style={textInputStyle || _textInputStyle(textColor)}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@paraboly/react-native-input-bar",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"description": "Fully customizable, beautifully designed Input Bar for React Native",
55
"keywords": [
66
"input",

0 commit comments

Comments
 (0)