Add dropdown (in-dev)

This commit is contained in:
René Preuß
2023-02-20 23:46:29 +01:00
parent 4dc1d0a704
commit bf14028a02
6 changed files with 257 additions and 29 deletions

View File

@@ -0,0 +1,30 @@
<template>
<button
class="bg-base-700 hover:bg-base-600 rounded-lg text-center p-2 text-white w-32 text-xs grid"
:class="{ 'bg-red-500 hover:bg-red-400': destructive }"
>
<i :class="`fal text-xl ${icon}`" />
<slot />
</button>
</template>
<script>
export default {
name: "BitinflowTableFloatingAction",
props: {
icon: {
type: String,
default: 'fa-play'
},
destructive: {
type: Boolean,
default: false
}
}
}
</script>
<style scoped>
</style>