feat: add Checkbox and Radio field families
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
<script setup lang="ts">
|
||||
import {
|
||||
CheckboxGroup,
|
||||
CheckboxContent,
|
||||
CheckboxControl,
|
||||
CheckboxIndicator,
|
||||
Checkbox,
|
||||
Label,
|
||||
Description,
|
||||
} from "@heroui-vue/components";
|
||||
</script>
|
||||
<template>
|
||||
<CheckboxGroup is-disabled name="disabled-features">
|
||||
<Label>功能</Label>
|
||||
<Description>功能选择暂时不可用</Description>
|
||||
<Checkbox value="feature1">
|
||||
<CheckboxContent>
|
||||
<CheckboxControl>
|
||||
<CheckboxIndicator />
|
||||
</CheckboxControl>
|
||||
功能一
|
||||
</CheckboxContent>
|
||||
<Description>该功能即将推出</Description>
|
||||
</Checkbox>
|
||||
<Checkbox value="feature2">
|
||||
<CheckboxContent>
|
||||
<CheckboxControl>
|
||||
<CheckboxIndicator />
|
||||
</CheckboxControl>
|
||||
功能二
|
||||
</CheckboxContent>
|
||||
<Description>该功能即将推出</Description>
|
||||
</Checkbox>
|
||||
</CheckboxGroup>
|
||||
</template>
|
||||
Reference in New Issue
Block a user