DEV Community

Discussion on: How to create customized dynamic table in React (with dynamic header)

talorlanczyk profile image
TalOrlanczyk • Edited on

Great one but just for you to notice there is thead for the header
The tag is used to group the header content in an HTML table. The thead element should be used in conjunction with the tbody and tfoot elements.
Also a little tip:
You can add the rest of the props in map header
To the tag like colspan so it by itself do this

diraskreact profile image
Dirask-React Author

Thanks for the tips! 😊🔥