kutlugsahin/react-smooth-dnd

Importing library returning undefined

klimkowd opened this issue · 0 comments

After doing a yarn add react-smooth-dnd
I pasted in the most simplest of exmaples. However the imports fail to load Draggable or Container. with the followign error:

Uncaught Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

It appears those items are not being exported. I must be missing something here.