Skip to content

Instantly share code, notes, and snippets.

@pysoftware
Created September 15, 2020 00:27

Revisions

  1. pysoftware created this gist Sep 15, 2020.
    16 changes: 16 additions & 0 deletions tabletr.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    ∆under da hood Table.Body.Row & Table.Body.Row.Cell etc.

    <div
    className={classes.row}
    {... restProps}
    >
    {children}
    </div>

    using
    <Table.Body.Row.Cell
    (I can pass here any props I want to rewrite or add to/in wrapper)
    >
    content
    </...>