Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) in custom npm package
I’m working on a custom npm package (private) with a theme so I can use it across all my projects.
I’m using react-datepicker
in my package to create a custom DatePicker component