Jump to content

cant array.map with css grid to make table for dynamic data


Recommended Posts

Trying to make a table that looks like this with css grid:


Without using dynamic data and an array.map I can do it, but when it comes to writing this in a DRY way I just cant figure it out.

Snippet wont run(cant figure out how to use react with it), just to show code.


Runnable code: https://codesandbox.io/s/polished-bush-x7vllz?file=/src/InfoTable/InfoTable.js:212-2192Dholki

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now

  • Create New...