mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 04:56:48 +00:00
15 lines
384 B
Vue
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>
|