Files
heroui-vue/apps/docs/demos/checkbox-with-description.vue
T
2026-10-22 09:15:27 +08:00

21 lines
466 B
Vue

<script setup lang="ts">
import {
CheckboxContent,
CheckboxControl,
CheckboxIndicator,
Checkbox,
Description,
} from "@heroui-vue/components";
</script>
<template>
<Checkbox name="description-notifications">
<CheckboxContent>
<CheckboxControl>
<CheckboxIndicator />
</CheckboxControl>
邮件通知
</CheckboxContent>
<Description>当有人在评论中提及您时收到通知</Description>
</Checkbox>
</template>