Check out example codes for "enable html button". It will help you in understanding the concepts better.

Code Example 1

$('#Button').prop('disabled', true);

Learn ReactJs, React Native from akashmittal.com