Files
heroui-vue/apps/docs/demos/switch-without-label.vue
T

18 lines
318 B
Vue

<script setup lang="ts">
import {
Switch,
SwitchContent,
SwitchControl,
SwitchThumb,
} from "@heroui-vue/components";
</script>
<template>
<Switch aria-label="启用通知">
<SwitchContent>
<SwitchControl>
<SwitchThumb />
</SwitchControl>
</SwitchContent>
</Switch>
</template>