react i tag Error: input is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`. code example
Example 1: input is a void element tag and must neither have `children` not use `dangerouslySetInnerHTML`.
<input/> //HAS to be self-closing
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`.