1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-07 02:28:54 +08:00

add tests for DbUploader #27

This commit is contained in:
lana-k
2021-04-22 14:04:52 +02:00
parent 803622f18f
commit 628e9cee62
4 changed files with 590 additions and 39 deletions

View File

@@ -1,7 +1,7 @@
<template>
<svg
@click.stop="$emit('click')"
class="icon"
:class="['icon', {'disabled': disabled }]"
:width="size"
:height="size"
viewBox="0 0 14 14"
@@ -23,6 +23,11 @@ export default {
type: Number,
required: false,
default: 14
},
disabled: {
type: Boolean,
required: false,
default: false
}
}
}
@@ -32,6 +37,9 @@ export default {
.icon {
cursor: pointer;
}
.disabled {
pointer-events: none;
}
.icon:hover path {
fill: var(--color-text-base);
}