import { useBlock, BlockProps } from "../../../composables/base/useBlock.js"; import { hProps } from "../../../composables/utils/useProps.js"; import { defineComponent, h } from "#imports"; export default defineComponent({ name: "HtmlLegend", props: { ...BlockProps, tag: { type: String, default: "legend" } }, setup(props, context) { const block = useBlock(props); return () => h(props.tag, hProps(block), context.slots); } });