<script lang="ts" setup>
defineProps({
	value: {
		type: String,
		default: '',
	},
	label: {
		type: String,
		default: '',
	},
	tag: {
		type: String,
		default: 'h1',
	},
})
</script>

<template>
	<component :is="tag">
		{{ label || value }}
		<slot />
	</component>
</template>
