15 lines
383 B
Svelte
15 lines
383 B
Svelte
<script lang="ts">
|
|
import { cn } from '$lib/utils';
|
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
|
|
type Props = HTMLAttributes<HTMLHeadingElement> & {
|
|
children?: any;
|
|
};
|
|
|
|
let { class: className, children, ...restProps }: Props = $props();
|
|
</script>
|
|
|
|
<h3 class={cn('font-semibold leading-none tracking-tight', className)} {...restProps}>
|
|
{@render children?.()}
|
|
</h3>
|