Skip to content

Releases: jbetancur/react-data-table-component

v7.6.0

12 Jan 03:43
ba2e865

Choose a tag to compare

What's Changed

  • update expandableRowsComponentProps name in docs by @rdubrock in #1189
  • Fix typo in patterns story by @samrobbins85 in #1180
  • update deps | styled | react by @jbetancur in #1195
    • This is generally a maintenance release that should resolve various errors including but not limited to react 18 and styled-components 6

New Contributors

Full Changelog: v7.5.4...v7.6.0

v7.5.4

24 Aug 11:19

Choose a tag to compare

Fixes #1154 - thank you @HendrikPetertje !

v7.5.3

26 Aug 12:51

Choose a tag to compare

Fixes

  • #1076 className should now pass to responsiveWrapper

v7.5.2

12 May 10:57
02cfb72

Choose a tag to compare

Fixes

  • fixes infinite re-render when using setState or useState hooks within onSort

v7.5.1

05 May 03:18
949988e

Choose a tag to compare

Features

  • #1047 adds sorted columns as a 3rd prop for onSort

v7.5.0

19 Apr 18:34
14e2e7f

Choose a tag to compare

Features

  • #1027 adds row event handlers for mouse. thank you @gsimko !

v7.4.7

23 Jan 14:53
a881779

Choose a tag to compare

v7.4.6

18 Dec 15:36
b792924

Choose a tag to compare

Bug Fixes

  • #975 using custom a custom theme name should no longer cause TypeScript to complain

Maintenance

  • Update deprecated deps
  • Update deps

v7.4.5

27 Oct 01:44
5e652b4

Choose a tag to compare

🥃 Features 🥃

  • #945 selectableRowsSingle should now work with selectableRowSelected, however if you have more than one match only the first match will be selected.

v7.4.4

11 Oct 16:42
5474649

Choose a tag to compare

🥃 Features 🥃

  • Expose ExpanderComponentProps TypeScript type. You can now:
type DataRow = {
....
};

const ExpandedComponent: React.FC<ExpanderComponentProps<DataRow>> = ({ data }) => {
	return <pre>{JSON.stringify(data, null, 2)}</pre>;
};

// or

function ExpandedComponent({ data }: ExpanderComponentProps<DataRow>): JSX.Element {
	return <pre>{JSON.stringify(data, null, 2)}</pre>;
}