Added floating action button to add properties directly to the sheet

This commit is contained in:
Stefan Zermatten
2021-02-25 12:37:32 +02:00
parent df361236f5
commit a5460bba0b
6 changed files with 165 additions and 20 deletions

View File

@@ -3,6 +3,8 @@
fab
small
v-bind="$attrs"
:disabled="disabled"
:style="disabled ? 'background-color: #616161 !important;' : ''"
@click="$emit('click')"
>
<v-icon>{{ icon }}</v-icon>
@@ -18,7 +20,7 @@
* component creates a v-btn with a label.
*/
export default {
props: ['icon', 'label'],
props: ['icon', 'label', 'disabled'],
}
</script>