Skip to content

Releases: Legitcode/table

0.4.2

24 Sep 19:27

Choose a tag to compare

Fixed headings when hiding a column

0.4.1

24 Sep 18:44

Choose a tag to compare

bug fix for 0.4.0

0.4.0

24 Sep 18:40

Choose a tag to compare

Added ability to hide keys, useful if each row needs to know its id for an ajax request

let modify = ({hidden}) => {
    expect(hidden.id).to.be.equal(1)
}
Test(<Table rows={[{id: 1, name: 'zach'}]} hide={['id']} modifyAll={modify} />)
.find('td')
.element(td => {
  expect(td.props.children).to.be.equal('zach');
})

0.2.10

23 Sep 21:12

Choose a tag to compare

added modifyAll prop

0.2.6

14 Sep 21:17

Choose a tag to compare

  • removed node-jsdom, tests work in node v4
  • added uniqueId function, no more react key warnings

0.2.5

10 Sep 17:52

Choose a tag to compare

fixed bug when passing an empty array

0.2.0

07 Sep 22:07

Choose a tag to compare

  • removed index.js, including the component is now import Table from 'react-legit-table' vs import {Table}

0.1.0

05 Sep 04:15

Choose a tag to compare

removed object.assign, simplified the table component