feat: add Typography EmptyState and Breadcrumbs

This commit is contained in:
maoyingjie
2026-10-22 13:07:13 +08:00
parent bcadbeaf8c
commit e4d817ce55
50 changed files with 3130 additions and 90 deletions
@@ -0,0 +1,24 @@
<script setup lang="ts">
import { ref } from "vue";
import { Button, EmptyState } from "@heroui-vue/components";
const showMessage = ref(true);
</script>
<template>
<div class="flex w-full max-w-md flex-col gap-3">
<div class="rounded-xl border border-border p-4">
<EmptyState>
<span v-if="showMessage">没有找到匹配的结果。</span>
</EmptyState>
</div>
<Button
class="self-start"
size="sm"
variant="secondary"
@click="showMessage = !showMessage"
>
切换内容
</Button>
</div>
</template>