[ ] Include relevant code or preferably a code sandbox
Describe the bug
prop type for
expandableRowsComponent?: ExpandableRowsComponent<T>;
is currently not exporting from root like
import DataTable, { TableColumn, TableStyles } from "react-data-table-component";
To Reproduce
If we import it from react-data-table-component/dist/src/DataTable/types netlify build gets failed.
Expected behavior
prop type should be imported like
import { ExpandableRowsComponent, } from "react-data-table-component";
instead of
import { ExpandableRowsComponent, } from "react-data-table-component/dist/src/DataTable/types";
Issue Check list
styled-components
Describe the bug
prop type for
expandableRowsComponent?: ExpandableRowsComponent<T>;
is currently not exporting from root likeimport DataTable, { TableColumn, TableStyles } from "react-data-table-component";
To Reproduce
If we import it from
react-data-table-component/dist/src/DataTable/types
netlify build gets failed.Expected behavior
prop type should be imported like
import { ExpandableRowsComponent, } from "react-data-table-component";
instead ofimport { ExpandableRowsComponent, } from "react-data-table-component/dist/src/DataTable/types";