× Unhandled Rejection (Error): input is a void element tag and must neither have `children` code example

Example 1: Error: input is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.

Self closing 
Wrong:
<input></input
Correct:
<input/>

If you are using bootstrap:
Wrong:
<Form.Control></Form.Control>
Correct:
<Form.Control/>

Example 2: Error: input is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.

Error: br is a void (break) element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.

Tags:

Html Example