896bac2cd7
- button-group: restore all 9 cn demos incl. merge dropdown menu copy, custom-styles merge dropdown, sizes variant=secondary, orientation icon groups, full-width second group and the disabled child override - toggle-button / toggle-button-group: restore cn copy, structure, button counts, theme custom-styles classes and aria-labels - accordion-custom-styles: restore the 3-item collectibles scenario with the original 3dicons images, surface variant, selectors and hover motion - disclosure-group-controlled: restore HeroUI Native / Expo copy and image semantics (Expo brand icon adapted to Tabler IconBrandReactNative) - button-basic / button-loading-state: converge to baseline (console report, no added status paragraph) keeping the duplicate-trigger guard - restore per-demo root gap/alignment/wrap classes instead of demo-row - icon semantics per task card: search glyph kept on 搜索 buttons, rotate-back glyph restored (IconRefresh), person-search glyph restored (IconUserSearch); accordion item icons sized to the baseline 16px
30 lines
644 B
Vue
30 lines
644 B
Vue
<script setup lang="ts">
|
|
import {
|
|
IconSearch,
|
|
IconUserPlus,
|
|
IconMail,
|
|
IconTrash,
|
|
} from "@tabler/icons-vue";
|
|
import { Button } from "@heroui-vue/components";
|
|
</script>
|
|
<template>
|
|
<div class="flex flex-wrap gap-3">
|
|
<Button variant="primary">
|
|
<IconSearch aria-hidden="true" />
|
|
搜索
|
|
</Button>
|
|
<Button variant="secondary">
|
|
<IconUserPlus aria-hidden="true" />
|
|
添加成员
|
|
</Button>
|
|
<Button variant="tertiary">
|
|
<IconMail aria-hidden="true" />
|
|
邮件
|
|
</Button>
|
|
<Button variant="danger">
|
|
<IconTrash aria-hidden="true" />
|
|
删除
|
|
</Button>
|
|
</div>
|
|
</template>
|