mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-09-17 09:16:37 +08:00
25 lines
419 B
Vue
25 lines
419 B
Vue
<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>
|