feat: add Typography EmptyState and Breadcrumbs
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user