empty master
This commit is contained in:
parent
92c1162255
commit
67d534df27
276 changed files with 0 additions and 28368 deletions
|
@ -1,32 +0,0 @@
|
|||
<template>
|
||||
<i :class="classes" :style="styles"></i>
|
||||
</template>
|
||||
<script>
|
||||
const prefixCls = 'ivu-icon';
|
||||
|
||||
export default {
|
||||
props: {
|
||||
type: String,
|
||||
size: [Number, String],
|
||||
color: String
|
||||
},
|
||||
computed: {
|
||||
classes () {
|
||||
return `${prefixCls} ${prefixCls}-${this.type}`;
|
||||
},
|
||||
styles () {
|
||||
let style = {};
|
||||
|
||||
if (this.size) {
|
||||
style['font-size'] = `${this.size}px`;
|
||||
}
|
||||
|
||||
if (this.color) {
|
||||
style.color = this.color;
|
||||
}
|
||||
|
||||
return style;
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
|
@ -1,2 +0,0 @@
|
|||
import Icon from './icon.vue';
|
||||
export default Icon;
|
Loading…
Add table
Add a link
Reference in a new issue