'What is the best way to render a component in every row of react table?
Hi Everyone I am fairly new to react, and looking a way to render a component in react table row.
This is what I am trying to do, I have a react table which is kind of container for different tables, this is getting COLUNMS as props. Now the last column of the table will be action column which will update the row data at the backend. For that I have created a component (different for different tables) which will take row id as prop and being passed to the as children and then hardcoded in the table. Now I don't know how to pass the props to prop.children which i will get the from the table like row id and is it the right way of doing this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
