1 | import Vue from 'vue'
|
2 | import { PluginFunction } from 'vue'
|
3 |
|
4 | interface Icon {
|
5 | width: number
|
6 | height: number
|
7 | viewBox: string
|
8 | data: string
|
9 | [key: string]: any
|
10 | }
|
11 |
|
12 | declare 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 |
|
25 | export default VueSvgIcon
|