feat: add Checkbox and Radio field families
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<script setup lang="ts">
|
||||
import {
|
||||
CheckboxContent,
|
||||
CheckboxControl,
|
||||
CheckboxIndicator,
|
||||
Checkbox,
|
||||
Label,
|
||||
} from "@heroui-vue/components";
|
||||
</script>
|
||||
<template>
|
||||
<div class="flex items-center gap-3">
|
||||
<Checkbox id="label-marketing">
|
||||
<CheckboxContent>
|
||||
<CheckboxControl>
|
||||
<CheckboxIndicator />
|
||||
</CheckboxControl>
|
||||
</CheckboxContent>
|
||||
</Checkbox>
|
||||
<Label for="label-marketing">给我发送营销邮件</Label>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user