ReactNative component for displaying Facebook/Twitter like textarea

react-native-writebox

ReactNative component for displaying Facebook/Twitter like textarea at the bottom of the screen with character counter.

Installation

npm install react-native-writebox --save

Yarn:

yarn add react-native-writebox

Usage example

Basic usage:

import React, { Component } from 'react'
import WriteBox from 'react-native-writebox'

export default class Demo extends Component {
  render() {
    return (
      <WriteBox onSubmit={ ({ value }) => { console.log('Input value', value) } } >
        { this.props.children }
      </WriteBox>
    )
  }
}

GitHub