react-data-table-component
react-data-table-component copied to clipboard
Unable to Export Types from "react-data-table-component/dist/src/DataTable/types"
Issue Check list
- [x] Agree to the Code of Conduct
- [x] Read the README
- [x] You are using React 16.8.0+
- [x] You installed
styled-components
Description
I am experiencing an issue while trying to export types from the react-data-table-component library. I have created a component using the package and I am trying to export the types from the "react-data-table-component/dist/src/DataTable/types" so that anyone using the component can access these types.
Steps to Reproduce:
-
Attempt to export types using the following statement:
export * from "react-data-table-component/dist/src/DataTable/types";OR
export * as DataTableTypes from "react-data-table-component/dist/src/DataTable/types";- This results in a "module not found" error.
Expected Behavior:
- [ ] Successful export of all types from the specified path in the
react-data-table-componentlibrary.
Actual Behavior:
- [x] Encountering a "module not found" error when trying to export from the specified path.
Request for Assistance:
I am seeking guidance on the correct approach to export types from the react-data-table-component library, specifically from the path "react-data-table-component/dist/src/DataTable/types".
Versions (please complete the following information)
- React (RDT requires 16.8.0+)
- Styled Components
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari, firefox]