Simple wrapper component for Feather Icons.
<FeatherIcon icon="feather" />
icon
: Feather icon name. What you would put in the data-feather
attribute.attrs
: Attributes you would pass to feather.replace()
Please import svelte-feather-icon/FeatherIcon.html
directly (or configure your bundler to resolve svelte
package fields, rollup-plugin-svelte
does this out of the box, see resolve.mainFields for webpack) and compile it from within your own project.
See svelte#604 for more information.