2.0.0 • Published 5 years ago
svelte-feather-icon v2.0.0
svelte-feather-icon
Simple wrapper component for Feather Icons.
Usage
<FeatherIcon icon="feather" />Properties
icon: Feather icon name. What you would put in thedata-featherattribute.attrs: Attributes you would pass tofeather.replace()
Using with Sapper
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.