@afeefa/vue-app 0.0.216 → 0.0.217
Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.217
|
package/package.json
CHANGED
package/src/components/AIcon.vue
CHANGED
@@ -1,10 +1,15 @@
|
|
1
1
|
<template>
|
2
2
|
<v-icon
|
3
3
|
:class="{button}"
|
4
|
+
:color="icon && icon.color"
|
4
5
|
v-bind="$attrs"
|
5
6
|
v-on="$listeners"
|
6
7
|
>
|
7
|
-
<
|
8
|
+
<template v-if="icon">
|
9
|
+
{{ icon.icon }}
|
10
|
+
</template>
|
11
|
+
|
12
|
+
<slot v-else />
|
8
13
|
</v-icon>
|
9
14
|
</template>
|
10
15
|
|
@@ -13,7 +18,7 @@
|
|
13
18
|
import { Component, Vue } from '@a-vue'
|
14
19
|
|
15
20
|
@Component({
|
16
|
-
props: [{button: false}]
|
21
|
+
props: ['icon', {button: false}]
|
17
22
|
})
|
18
23
|
export default class AIcon extends Vue {
|
19
24
|
}
|