I have created a two components:
Comment- renders a comment's content and edit option(this option is created from the below component)EditComment- renders a link and onClick of that link renders a modal where comment can be edited.
The problem here is the input type='textarea' is fixed and I am unable to modify it.
Here is the working model of code: