UNPKG

570 BTypeScriptView Raw
1import Vue from 'vue'
2import { PluginFunction } from 'vue'
3
4interface Icon {
5 width: number
6 height: number
7 viewBox: string
8 data: string
9 [key: string]: any
10}
11
12declare class VueSvgIcon extends Vue {
13 static icons: { [key: string]: Icon }
14 static register: (data: { [key: string]: Icon }) => void
15 static install: PluginFunction<{
16 tagName?: string
17 classPrefix?: string
18 isStroke?: boolean
19 isOriginalDefault?: boolean
20 defaultWidth?: string
21 defaultHeight?: string
22 }>
23}
24
25export default VueSvgIcon