share-button-links icon indicating copy to clipboard operation
share-button-links copied to clipboard

Import fails from /components url

Open alvaro-canepa opened this issue 2 years ago • 0 comments

Thanks for write and share this package!

When I use import { FacebookIcon } from 'share-button-links/components/icons'; get error of file not found. Works importing from root of package, like import { FacebookIcon } from 'share-button-links

For css styles, in my case, import from dist folder on main.ts.
import 'share-button-links/dist/share-button-links.css';

Maybe just require an update on docs side ;)
Thanks!

alvaro-canepa avatar Jul 19 '23 10:07 alvaro-canepa