Hi all, When trying to follow the example for typescript expandable on: https://react-data-table-component.netlify.app/?path=/docs/expandable-basic--basic
I cannot seem to import the{ ExpanderComponentProps }, I get this error:
Module '"react-data-table-component"' has no exported member 'ExpanderComponentProps'. Did you mean to use 'import ExpanderComponentProps from "react-data-table-component"' instead?
But using typescript import ExpanderComponentProps from "react-data-table-component"
just never lets me access from the code:
const ExpandedComponent: React.FC<ExpanderComponentProps<DataRow>> = ({ data }) => {
return <pre>{JSON.stringify(data, null, 2)}</pre>;
};```
(Says isnt found)