Closed Vadorequest closed 4 years ago
Found solution when writing issue, by looking at the content of FileStackAssetPicker
.
Because I'm loading using require
and not import
(because the lib doesn't support SSR), I had to import it using:
const FileStackAssetPicker = require('filestack-react').default;
The .default
changes everything :)
I'm trying to get started with this lib and got stuck right away.
This renders: