1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| <script setup lang="ts">
| defineOptions({
| name: 'SettingItem'
| });
|
| interface Props {
| /** Label */
| label: string;
| }
|
| defineProps<Props>();
| </script>
|
| <template>
| <div class="w-full flex-y-center justify-between">
| <div class="flex-y-center">
| <span class="pr-8px text-base-text">{{ label }}</span>
| <slot name="suffix"></slot>
| </div>
| <slot></slot>
| </div>
| </template>
|
| <style scoped></style>
|
|