Check out example codes for "not disabled css". It will help you in understanding the concepts better.

Code Example 1

:not([disabled])

Learn ReactJs, React Native from akashmittal.com