feat: initialize Vue component library and aligned documentation
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
<script setup lang="ts">
|
||||
import {
|
||||
Switch,
|
||||
SwitchContent,
|
||||
SwitchControl,
|
||||
SwitchThumb,
|
||||
SwitchGroup,
|
||||
} from "@heroui-vue/components";
|
||||
</script>
|
||||
<template>
|
||||
<SwitchGroup class="overflow-x-auto" orientation="horizontal">
|
||||
<Switch name="notifications">
|
||||
<SwitchContent>
|
||||
<SwitchControl>
|
||||
<SwitchThumb />
|
||||
</SwitchControl>
|
||||
通知
|
||||
</SwitchContent>
|
||||
</Switch>
|
||||
<Switch name="marketing">
|
||||
<SwitchContent>
|
||||
<SwitchControl>
|
||||
<SwitchThumb />
|
||||
</SwitchControl>
|
||||
营销
|
||||
</SwitchContent>
|
||||
</Switch>
|
||||
<Switch name="social">
|
||||
<SwitchContent>
|
||||
<SwitchControl>
|
||||
<SwitchThumb />
|
||||
</SwitchControl>
|
||||
社交
|
||||
</SwitchContent>
|
||||
</Switch>
|
||||
</SwitchGroup>
|
||||
</template>
|
||||
Reference in New Issue
Block a user