Closed rubencosta closed 1 year ago
You should additionally update the readme. ;)
I reworked stackblitz (https://github.com/dvtng/react-loading-skeleton/issues/142#issuecomment-1166791234) to test this solution: https://stackblitz.com/edit/github-qvxva3?file=pages%2Findex.js
Thanks @msobiecki, I have updated the readme.
Fixed this in #187. Thanks for adding the exports
to package.json
— I used that in my PR.
This PR fixes #181
Warning: I changed the exports from default export to named export which is a breaking change. An alternative to a breaking change would be to keep both named and default exports but may be confusing for the package user to figure out which export to use.