style: shadcn
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user