changes
This commit is contained in:
13
components/Caption.vue
Normal file
13
components/Caption.vue
Normal file
@@ -0,0 +1,13 @@
|
||||
<template>
|
||||
<div class="mb-2">
|
||||
<span :class="`icon-text fsb-${size||17} ${type || 'has-text-findata'}`">
|
||||
<b class="mr-1">{{ title }}</b>
|
||||
<SvgIcon v-bind="{name: 'right.svg', type: type? type.replace('has-text-', '') : null, size: (size>=30? size*0.7 : size) || 20, alt: 'Arrow'}"></SvgIcon>
|
||||
</span>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
props: ['type', 'size', 'title']
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user