Q. How can you conditionally disable a button in React?

आप रिएक्ट में किसी बटन को सशर्त रूप से कैसे अक्षम कर सकते हैं?

A
< button disabled={isDisabled} >
B
< button disabled={true} >
C
< button disabled="isDisabled" >
D
< button isDisabled={true} >

Explanation

Explanation will be available soon. Please stay tuned.

व्याख्या जल्द ही उपलब्ध होगी। कृपया बने रहें।

Invest in Future Achievers

Your support helps keep Exam Achiever 100% free for students preparing for exams.

Thanks for your support!

Comments

Leave a Comment