Check out example codes for "jquery woocommerce disable add to cart css". It will help you in understanding the concepts better.

Code Example 1

$('.single_add_to_cart_button, button.product_type_simple').prop('disabled', false);

Learn ReactJs, React Native from akashmittal.com