'react-dom.development.js:86 Warning: validateDOMNesting(...): <button> cannot appear as a child of <thead>
But I want that button inside my table.
<th>
<button onClick={handleAddItem} className='add-btn'>
Add
<FontAwesomeIcon icon={faPlus}></FontAwesomeIcon>
</button>
</th>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
