Skip to content

Releases: davidalekna/use-table-tools

Removes unnecessary files from final product

09 May 13:54
Compare
Choose a tag to compare

Project converted to TS

09 May 13:30
Compare
Choose a tag to compare
v1.1.0

ready in ts

Extra function replaceColumnFlex

05 Sep 13:29
Compare
Choose a tag to compare
Pre-release

Adds possibility to accept columnFlex prop as a multidimensional array and function replaceColumnFlex to switch between those arrays.

Note: the first item in an array will always be the default

Example

  const initialColumns = [
      ['0 0 25%', '1 1 75%'],
      ['0 0 25%', '1 1 50%', '0 0 25%'],
      ['0 0 20%', '1 1 40%', '0 0 20%', '0 0 20%'],
    ]

  const columns = [{}, {}, {}]

  <DataBrowser
    initialColumnFlex={initialColumns}
    columns={columns}
    totalItems={columns.length}
  >
  {({replaceColumnFlex, availableColumnFlex}) => (
    <button 
      onClick={() => replaceColumnFlex({ columnFlex: availableColumnFlex[1] })}
    >
      click me
    </button>
  )}
  </DataBrowser>

More Stable Pre-Release

01 Sep 10:17
Compare
Choose a tag to compare
Pre-release
0.1.5

0.1.5

Super Awesome Initial pre-Release ✨

21 Aug 17:13
Compare
Choose a tag to compare
Pre-release
0.1.0

exports getObjectPropertyByString function