mirror of
https://github.com/iconify/iconify.git
synced 2024-11-17 01:55:09 +00:00
chore: support icon.svelte export in svelte component
This commit is contained in:
parent
1c39d19339
commit
be70a27dad
@ -1,5 +1,5 @@
|
|||||||
<script>
|
<script>
|
||||||
import Icon from '@iconify/svelte';
|
import Icon from '@iconify/svelte/dist/Icon.svelte';
|
||||||
|
|
||||||
const adminUsers = 'dashicons:admin-users';
|
const adminUsers = 'dashicons:admin-users';
|
||||||
const icon1Style = 'color: purple; vertical-align: 0; font-size: 2em;';
|
const icon1Style = 'color: purple; vertical-align: 0; font-size: 2em;';
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"name": "@iconify/svelte",
|
"name": "@iconify/svelte",
|
||||||
"description": "Iconify icon component for Svelte.",
|
"description": "Iconify icon component for Svelte.",
|
||||||
"author": "Vjacheslav Trushkin",
|
"author": "Vjacheslav Trushkin",
|
||||||
"version": "4.0.0-beta.2",
|
"version": "4.0.0-beta.3",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"tag": "next"
|
"tag": "next"
|
||||||
},
|
},
|
||||||
@ -22,6 +22,10 @@
|
|||||||
"svelte": "./dist/Icon.svelte",
|
"svelte": "./dist/Icon.svelte",
|
||||||
"types": "./dist/index.d.ts"
|
"types": "./dist/index.d.ts"
|
||||||
},
|
},
|
||||||
|
"./dist/Icon.svelte": {
|
||||||
|
"svelte": "./dist/Icon.svelte",
|
||||||
|
"types": "./dist/index.d.ts"
|
||||||
|
},
|
||||||
"./dist/OfflineIcon.svelte": {
|
"./dist/OfflineIcon.svelte": {
|
||||||
"svelte": "./dist/OfflineIcon.svelte",
|
"svelte": "./dist/OfflineIcon.svelte",
|
||||||
"types": "./dist/offline.d.ts"
|
"types": "./dist/offline.d.ts"
|
||||||
|
Loading…
Reference in New Issue
Block a user