How to Make Button Component Disabled in React Native

Last Updated on October 23, 2018.

There are times you might need to disable button component to avoid any further actions on button press. You can easily disable button in react native with disabled property.

All you need is to set disabled prop of button true, just as given below:

<Button
  disabled
  title="Disabled Button"
  color="#841584"
  accessibilityLabel="Learn more about this disabled button"
/>

Leave a Reply

%d bloggers like this: