mirror of https://github.com/wg-easy/wg-easy
2 changed files with 8 additions and 6 deletions
@ -1,9 +1,11 @@ |
|||
<template> |
|||
<RLabel :for="id" class="md:align-middle md:leading-10"><slot /></RLabel> |
|||
<RLabel :for="props.for" class="md:align-middle md:leading-10" |
|||
><slot |
|||
/></RLabel> |
|||
</template> |
|||
|
|||
<script lang="ts" setup> |
|||
import { Label as RLabel } from 'radix-vue'; |
|||
|
|||
defineProps<{ id: string }>(); |
|||
const props = defineProps<{ for: string }>(); |
|||
</script> |
|||
|
Loading…
Reference in new issue