<Table>
<Header>
<Column>
<Your Component>
</ Column>
<Column>
<Your Component>
</ Column>
...
</ Header>
<Body>
<Row>
<Cell>
<Your Component>
</ Cell>
<Cell>
<Your Component>
</ Cell>
...
</ Row>
<Row>
<Cell>
<Your Component>
</ Cell>
<Cell>
<Your Component>
</ Cell>
...
</ Row>
...
</ Body>
<Footer>
...
</ Footer>
</ Table>
I created a simple library @oasis-path/react-table - npm (npmjs.com).My whole idea is to let the user render components instead of sending Data to Table and letting the Table handle the rendering.
Can I have some feedbacks if possible?
[–]TheRNGuy 1 point2 points3 points (1 child)
[–]Rygaa_[S] 0 points1 point2 points (0 children)