title: Reactjs checkbox check from button click
body: <pre><code>    &lt;input className=&quot;form-control&quot;
                          type=&quot;text&quot;
                                                 
                        /&gt;
  &lt;input type=&quot;button&quot; onClick={()=&gt;clickHandle()}/&gt;
  </code></pre>
  <p>When I click the button, I want to change the check property of the checkbox. But the checked property or defaultChecked properties do not work in this regard. What can I do about it?</p>