I’m facing an issue when consuming my ReactJS NPM library. While I can successfully bundle and publish the library using bundlers like Webpack, Rollup, and Storybook, the props passed to the components are empty or undefined. I have reviewed the library’s code and ensured compatibility with the ReactJS versions, but the problem persists. It seems to be related to the bundling configuration or missing library setup. I seek advice on resolving this issue to ensure proper consumption of the library and correct prop passing. Any suggestions or insights would be greatly appreciated.
getting empty object even though i exported. from index.js and configure package.json