File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<v-btn
3
3
class =" editorButton"
4
- width =" 48px"
4
+ min- width =" 48px"
5
5
height =" 48px"
6
6
@click =" $emit('click')"
7
7
>
8
8
<v-icon :color =" iconColor" :size =" iconSize" >{{ iconName }}</v-icon >
9
+ <span v-if =" text" >{{ text }}</span >
9
10
</v-btn >
10
11
</template >
11
12
@@ -29,13 +30,18 @@ export default Vue.extend({
29
30
required: false ,
30
31
default: ' 24px' ,
31
32
},
33
+ text: {
34
+ type: String ,
35
+ required: false ,
36
+ default: ' ' ,
37
+ },
32
38
},
33
39
})
34
40
</script >
35
41
36
42
<style lang="scss" scoped>
37
43
.editorButton {
38
44
border-radius : 14px ;
39
- min-width : 48 px !important ;
45
+ padding : 0 14 px !important ;
40
46
}
41
47
</style >
Original file line number Diff line number Diff line change 14
14
v-if =" iconName"
15
15
class =" Button"
16
16
:icon-name =" iconName"
17
+ :text =" buttonText"
17
18
@click =" $emit('clickButton')"
18
19
/>
19
20
</div >
@@ -63,6 +64,11 @@ export default Vue.extend({
63
64
required: false ,
64
65
default: ' ' ,
65
66
},
67
+ buttonText: {
68
+ type: String ,
69
+ required: false ,
70
+ default: ' ' ,
71
+ },
66
72
},
67
73
})
68
74
</script >
You can’t perform that action at this time.
0 commit comments