react-pdf-highlighter icon indicating copy to clipboard operation
react-pdf-highlighter copied to clipboard

errors related to 'react-rnd' package version

Open johnking opened this issue 5 years ago • 0 comments

To help others:

At first, I was using the latest version of react-rnd, which was > 10.x.x, and got the following error

You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports

After checking the source code, I installed the version ^7.1.5 and it works fine now.

johnking avatar Mar 06 '20 06:03 johnking