samgis / static /src /components /buttons /ButtonComponent.vue
aletrn's picture
[feat] add working static frontend
aa983ad
raw
history blame
208 Bytes
<template>
<button class="inline-flex items-center p-2" @click="props.click">
<slot></slot>
</button>
</template>
<script setup lang="ts">
const props = defineProps<{
click: Function
}>()
</script>