style: shadcn

This commit is contained in:
2026-03-15 23:31:45 +08:00
parent a28b27d300
commit a546774e0a
365 changed files with 8988 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<script setup lang="ts">
import type { SplitterPanelEmits, SplitterPanelProps } from "reka-ui"
import { SplitterPanel, useForwardExpose, useForwardPropsEmits } from "reka-ui"
const props = defineProps<SplitterPanelProps>()
const emits = defineEmits<SplitterPanelEmits>()
const forwarded = useForwardPropsEmits(props, emits)
const { forwardRef } = useForwardExpose()
</script>
<template>
<SplitterPanel
:ref="forwardRef"
v-slot="slotProps"
data-slot="resizable-panel"
v-bind="forwarded"
>
<slot v-bind="slotProps" />
</SplitterPanel>
</template>