Check out example codes for "jquery css add important". It will help you in understanding the concepts better.

Code Example 1

$('#elem').attr('style', 'width: 100px !important');

Learn ReactJs, React Native from akashmittal.com