Skip to content

Latest commit

 

History

History
executable file
·
26 lines (23 loc) · 1.02 KB

Disabled.md

File metadata and controls

executable file
·
26 lines (23 loc) · 1.02 KB

disabled-textbox-headref

Disabled Textbox

To restrict inputting data into textbox, include the disabled prop with Item and Input.

Preview ios disabled-textbox-headref Preview android disabled-textbox-headref

Syntax

import React, { Component } from 'react';
import { Container, Header, Content, Item, Input, Icon } from 'native-base';
export default class DisabledTextboxExample extends Component {
  render() {
    return (
      <Container>
        <Header />
        <Content>
          <Item disabled>
            <Input disabled placeholder='Disabled Textbox'/>
            <Icon name='information-circle' />
          </Item>
        </Content>
      </Container>
    );
  }
}