
* feat: add contributor information to documents * fix: page spinner is styled incorrectly when scrolling
17 lines
416 B
Vue
17 lines
416 B
Vue
<script lang="ts" setup>
|
|
import type { CSSProperties } from 'vue';
|
|
|
|
import { VbenSpinner } from '@vben-core/shadcn-ui';
|
|
|
|
import { useContentSpinner } from './use-content-spinner';
|
|
|
|
defineOptions({ name: 'LayoutContentSpinner' });
|
|
|
|
defineProps<{ overlayStyle: CSSProperties }>();
|
|
|
|
const { spinning } = useContentSpinner();
|
|
</script>
|
|
<template>
|
|
<VbenSpinner :spinning="spinning" :style="overlayStyle" />
|
|
</template>
|