title: Click button once click just render text
body: <p>How to create a button than once click the button will render just text by using react hook</p>
  <pre><code>const WelcomeButton = (props) =&gt; {
    
  const[welcomeBtn, setwelcomeBtn] = useState()
  
   const handelClick = () =&gt; {
   if() {
   retun &lt;p&gt;Hi John&lt;/p&gt;
   }
  }
    return (
    &lt;div&gt;
  &lt;button onClick={handelClick}&gt; Welcome &lt;/button&gt;    
    &lt;/div&gt;
    )
    ;
  };
  </code></pre>