##button-disabled-headref
A disabled button is unusable and un-clickable.
The disabled prop of NativeBase Button is of type boolean. When present, it specifies that the button should be disabled. The disabled prop can be set to keep a user from clicking on the button until some other condition has been met (like selecting a checkbox, etc.). Then, a conditional code could remove the disabled value, and make the button usable.
import React, { Component } from 'react';
import { Container, Content, Button, Text } from 'native-base';
export default class DisabledButtonExample extends Component {
render() {
return (
<Container>
<Content>
<Button disabled><Text>Solid</Text></Button>
<Button bordered disabled><Text>Bordered</Text></Button>
<Button rounded disabled><Text>rounded</Text></Button>
<Button large disabled><Text>Custom</Text></Button>
<Button disabled iconRight>
<Text>Icon Button</Text>
<Icon name="home" />
</Button>
<Button block disabled style={styles.mb15}><Text>Block</Text></Button>
<Button full disabled style={styles.mb15}><Text>Block</Text></Button>
</Content>
</Container>
);
}
}
