feat: add Separator Kbd and Chip components
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<script setup lang="ts">
|
||||
import { Separator } from "@heroui-vue/components";
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="max-w-md">
|
||||
<div class="space-y-1">
|
||||
<h4 class="text-medium font-medium">HeroUI v3 组件</h4>
|
||||
<p class="text-small text-default-400">
|
||||
美观、快速、现代的 React UI 库。
|
||||
</p>
|
||||
</div>
|
||||
<Separator class="my-4" as-child>
|
||||
<div data-custom="foo"></div>
|
||||
</Separator>
|
||||
<div class="text-small flex h-5 items-center space-x-4">
|
||||
<div>博客</div>
|
||||
<Separator orientation="vertical" as-child>
|
||||
<div data-custom="foo"></div>
|
||||
</Separator>
|
||||
<div>文档</div>
|
||||
<Separator orientation="vertical" as-child>
|
||||
<div data-custom="foo"></div>
|
||||
</Separator>
|
||||
<div>源码</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user