I'm getting trouble while making dynamic new divs. Can anyone help me to do this.
Here is my div.
<div className="intent" id="intent1" style={{border:'1px solid #eee'}}>
<div className="form-group row">
<label htmlFor="intent" className="col-sm-1 col-form-label">Intent</label>
<div className="col-sm-5">
<input type="text" className="form-control" name="indent[]" id="intent1" placeholder="Enter intent"/>
</div>
</div>
</div>
I need to plus/minus the above div dynamically.