Skip to content

Commit 3712031

Browse files
committed
Create README.md
1 parent ab0b245 commit 3712031

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# react-native-autogrow-input
2+
Missing auto grow multiline input component
3+
4+
Pure JS Android/iOS drop in TextInput replacement with support for autogrow feature.
5+
6+
## Installation
7+
```
8+
npm install react-native-autogrow-input --save
9+
```
10+
11+
## Example
12+
```Javascript
13+
import React, {Component, View} from 'react-native';
14+
import AutogrowInput from 'react-native-autogrow-input';
15+
16+
export default class MyComponent extends Component {
17+
render() {
18+
return <View>
19+
<AutogrowInput
20+
defaultHeight={50}
21+
/* all props supported by original TextInput components are supported */
22+
/>
23+
</View>;
24+
}
25+
}
26+
```

0 commit comments

Comments
 (0)