Make the close icon configurable

This commit is contained in:
kolaente 2021-01-21 21:23:50 +01:00
parent 706a6b3271
commit 822028e4b7
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 5 additions and 1 deletions

View File

@ -6,7 +6,7 @@
</p>
<a @click="$emit('close')" class="card-header-icon" v-if="hasClose">
<span class="icon">
<icon icon="angle-right"/>
<icon :icon="closeIcon"/>
</span>
</a>
</header>
@ -34,6 +34,10 @@ export default {
type: Boolean,
default: false,
},
closeIcon: {
type: String,
default: 'angle-right',
},
shadow: {
type: Boolean,
default: true,