react-table-library
react-table-library copied to clipboard
Void Elements are being modified with a closing </div>
Whenever I write something that would normally be a void element inside a <HeaderCell>, the library seems to convert it to an open element with a closing </div> tag.
For example:
<img src='abc'/> becomes <img src='abc'></div>
<br/> becomes <br></div>
Even when I do this with a <img src=''></img> it does the same thing.
Even more odd, when I do multiple:
<img src='abc'/>
<img src='def'/>
It becomes:
<img src='abc'>
<img src='def'>
</div>
</div>
I don't seem to be able to find anything in the docs on how to get these element types working. If I use other nested elements such as a <div> or <p> everything inside is working just fine.