Skip to content

Latest commit

 

History

History
executable file
·
72 lines (69 loc) · 2.42 KB

DisabledButton.md

File metadata and controls

executable file
·
72 lines (69 loc) · 2.42 KB

button-disabled-headref

Disabled Button

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 conditions are met (like selecting a checkbox, etc.). Then, a conditional code could remove the disabled value, and make the button usable.

Preview ios button-disabled-headref Preview android button-disabled-headref Syntax

{% codetabs name="React Native", type="js" -%} import React, { Component } from 'react'; import { Container, Header, Content, Button, Text, Icon } from 'native-base'; export default class ButtonDisabledExample extends Component { render() { return (

Default Outline Rounded Custom Icon Button Block ); } } {%- language name="Vue Native", type="vue" -%} Default Outline Rounded Custom Icon Button Block {%- endcodetabs %}