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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user