Skip to content

Latest commit

 

History

History
executable file
·
27 lines (23 loc) · 993 Bytes

Error.md

File metadata and controls

executable file
·
27 lines (23 loc) · 993 Bytes

error-textbox-headref

Error Input Textbox

To display textbox with invalid data, include the error prop with Item.

Preview ios error-textbox-headref Preview android error-textbox-headref

Syntax

import React, { Component } from 'react';
import { Container, Header, Content, Item, Input, Icon } from 'native-base';
export default class ErrorInputTextboxExample extends Component {
  render() {
    return (
      <Container>
        <Header />
        <Content>
          <Item error>
            <Input placeholder='Textbox with Error Input'/>
            <Icon name='close-circle' />
          </Item>
        </Content>
      </Container>
    );
  }
}