react-data-table v6.10.0 Release Notes

Release Date: 2020-08-02 // over 3 years ago
  • ๐Ÿ”‹ Features

    ๐Ÿ›  Fixes/ Potentially Breaking with Typescript is you previously used IDataTableProps

    • 0๏ธโƒฃ If you are importing RDT typescript interfaces such as IDataTableProps, they will no longer require you to pass any arguments as and you can just set the type to IDataTableProps. This better supports a common pattern where you may want to set default props on your table and pass through the props using a wrapping component:

      const DBase: React.FC<IDataTableProps> = props => (<DataData {...props} dense />)