Files
nocodb/packages/nc-gui/components/general/NocoIcon.vue
Pranav C ac74f27f5e refactor(gui): update with new icon
Signed-off-by: Pranav C <pranavxc@gmail.com>
2022-09-29 17:29:02 +05:30

15 lines
384 B
Vue

<script lang="ts" setup>
interface Props {
width?: number
height?: number
}
const { width = 90, height = 90 } = defineProps<Props>()
</script>
<template>
<div :style="{ left: `calc(50% - ${width / 2}px)`, top: `-${height / 2}px` }" class="absolute rounded-lg">
<img :width="width" :height="height" alt="NocoDB" src="~/assets/img/icons/512x512.png" />
</div>
</template>