mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 16:38:20 +01:00
20 lines
541 B
Vue
20 lines
541 B
Vue
<template>
|
|
<div class="flex flex-row justify-between">
|
|
<label v-bind="$attrs"
|
|
class="select-none font-semibold text-base/6 disabled:opacity-50 sm:text-sm/6 text-gray-100">
|
|
<slot />
|
|
</label>
|
|
<div :id="`${$attrs.for}-label-slot`"></div>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import type { LabelHTMLAttributes } from "vue";
|
|
|
|
interface Props extends /* @vue-ignore */ LabelHTMLAttributes {}
|
|
|
|
defineOptions({
|
|
inheritAttrs: false,
|
|
});
|
|
const props = defineProps<Props>();
|
|
</script> |