liuyu
6 小时以前 82a74ba0402ab546ba524d23ce62198c4d00d2f7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<script setup lang="ts">
import type { PrimitiveProps } from 'radix-vue';
 
import { Dot } from 'lucide-vue-next';
import { Primitive, useForwardProps } from 'radix-vue';
 
const props = defineProps<PrimitiveProps>();
const forwardedProps = useForwardProps(props);
</script>
 
<template>
  <Primitive v-bind="forwardedProps">
    <slot>
      <Dot />
    </slot>
  </Primitive>
</template>