Files
heroui-vue/apps/docs/demos/switch-with-description.vue
T

23 lines
446 B
Vue

<script setup lang="ts">
import {
Switch,
SwitchContent,
SwitchControl,
SwitchThumb,
Description,
} from "@heroui-vue/components";
</script>
<template>
<div class="max-w-sm">
<Switch>
<SwitchContent>
<SwitchControl>
<SwitchThumb />
</SwitchControl>
公开资料
</SwitchContent>
<Description>允许他人查看你的资料信息</Description>
</Switch>
</div>
</template>