mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
461 B
26 lines
461 B
1 year ago
|
<script lang="ts" setup>
|
||
|
const { hoverable } = defineProps<{
|
||
|
type?: string
|
||
|
hoverable?: boolean
|
||
|
}>()
|
||
|
</script>
|
||
|
|
||
|
<template>
|
||
|
<img
|
||
|
src="~/assets/nc-icons/database.svg"
|
||
|
class="text-[#2824FB] nc-project-icon"
|
||
|
:class="{
|
||
|
'nc-project-icon-hoverable': hoverable,
|
||
|
}"
|
||
|
/>
|
||
|
</template>
|
||
|
|
||
|
<style scoped>
|
||
|
.nc-project-icon {
|
||
|
@apply text-xl;
|
||
|
}
|
||
|
.nc-project-icon-hoverable {
|
||
|
@apply cursor-pointer !hover:bg-gray-200 !hover:bg-opacity-50;
|
||
|
}
|
||
|
</style>
|