title: How to change a p tag to input field when onclick event is performed using react?
body: <p>I am developing a react component and my requirement is to convert a p tag to input tag when it's clicked and when I click the input tag it should convert back to the p tag.</p>
  <p>Please help me to solve this?</p>