Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 957 Bytes

Textarea.md

File metadata and controls

36 lines (30 loc) · 957 Bytes

textarea-textbox-headref

Textarea

Creates a text area to input multiline text.

Preview ios textarea-textbox-headref Preview android textarea-textbox-headref

Syntax

import React, { Component } from "react";
import { Container, Header, Left, Body, Title, Right, Content, Textarea, Form } from "native-base";
export default class TextArea extends Component {
  render() {
    return (
      <Container>
        <Header>
          <Left />
          <Body>
            <Title>Textarea</Title>
          </Body>
          <Right />
        </Header>
        <Content padder>
          <Form>
            <Textarea rowSpan={5} bordered placeholder="Textarea" />
          </Form>
        </Content>
      </Container>
    );
  }
}