Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rusfearuth/react-native-auto-grow-textinput
This component allows to create auto grow text input for both platforms (iOS and Android).
https://github.com/rusfearuth/react-native-auto-grow-textinput
Last synced: 29 days ago
JSON representation
This component allows to create auto grow text input for both platforms (iOS and Android).
- Host: GitHub
- URL: https://github.com/rusfearuth/react-native-auto-grow-textinput
- Owner: rusfearuth
- License: apache-2.0
- Created: 2017-01-30T06:53:25.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-19T15:29:35.000Z (about 7 years ago)
- Last Synced: 2024-09-15T01:04:36.691Z (2 months ago)
- Language: JavaScript
- Size: 16.6 KB
- Stars: 23
- Watchers: 4
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ReactNative Auto Grow TextInput
This component allows to create auto grow text input for both platforms (iOS and Android).
## Attantion
If you use ReactNative <= 0.43.X in your poject, you should install version 1.1.2 of ReactNative Auto Grow TextInput.
```bash
$ yarn add [email protected]
```## Getting started
First of all, you need to install `react-native-auto-grow-textinput` to your project.```bash
$ yarn add react-native-auto-grow-textinput
```After, you can use it in your project:
```jsx
import { AutoGrowTextInput } from 'react-native-auto-grow-textinput';...
// If you don't need max height// else if you need to set up max height
// Connected to state
...
// Also you can use any other TextInput props with AutoGrowTextInput component
```I hope it'll save your time.