Files
documenter-mono/resources/js/Components/Card/CardBack.vue
2025-10-31 16:48:05 +09:00

33 lines
838 B
Vue

<script setup>
import Button from "../Button/Button.vue"
const emits = defineEmits([
'click'
])
const props = defineProps({
tag: {
type: [String, Object],
default: 'button'
}
})
</script>
<template>
<Button :tag="tag" v-bind:href="$attrs.href" @click="emits('click')" icon-left>
<template #icon>
<svg xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24">
<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M5 12h14"></path>
<path d="M5 12l6 6"></path>
<path d="M5 12l6-6"></path>
</g>
</svg>
</template>
Вернуться назад
</Button>
</template>
<style scoped>
</style>