feat(@vben/docs): preview components are supported within documents (#4250)

This commit is contained in:
Vben
2024-08-27 23:22:34 +08:00
committed by GitHub
parent d47d051b19
commit cbf601581d
23 changed files with 558 additions and 38 deletions

View File

@@ -14,7 +14,7 @@ interface Props {
contentClass?: any;
contentStyle?: StyleValue;
delayDuration?: number;
side: TooltipContentProps['side'];
side?: TooltipContentProps['side'];
}
withDefaults(defineProps<Props>(), {
@@ -33,7 +33,7 @@ withDefaults(defineProps<Props>(), {
:class="contentClass"
:side="side"
:style="contentStyle"
class="side-content text-popover-foreground bg-popover"
class="side-content text-popover-foreground bg-accent rounded-md"
>
<slot></slot>
</TooltipContent>

View File

@@ -1,3 +1,5 @@
export * from './ellipsis-text';
export * from './page';
export * from '@vben-core/popup-ui';
export { VbenButton } from '@vben-core/shadcn-ui';