init: чистый старт Laravel + Vuexy
This commit is contained in:
25
resources/ts/@core/components/DialogCloseBtn.vue
Normal file
25
resources/ts/@core/components/DialogCloseBtn.vue
Normal file
@@ -0,0 +1,25 @@
|
||||
<script setup lang="ts">
|
||||
interface Props {
|
||||
icon?: string
|
||||
iconSize?: string
|
||||
}
|
||||
|
||||
const props = withDefaults(defineProps<Props>(), {
|
||||
icon: 'tabler-x',
|
||||
iconSize: '20',
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<IconBtn
|
||||
variant="elevated"
|
||||
size="30"
|
||||
:ripple="false"
|
||||
class="v-dialog-close-btn"
|
||||
>
|
||||
<VIcon
|
||||
:icon="props.icon"
|
||||
:size="props.iconSize"
|
||||
/>
|
||||
</IconBtn>
|
||||
</template>
|
||||
Reference in New Issue
Block a user