Skip to content

The only tool you need to know what is happening and how to fix it.

465 B
Raw Blame
<script lang="ts">
	import { cn } from '$lib/utils.js';
	import * as Table from '$lib/components/ui/table/index.js';

	let {
		colspan,
		message = 'No data found.',
		class: className
	}: {
		colspan: number;
		message?: string;
		class?: string;
	} = $props();
</script>

<Table.Row>
	<Table.Cell
		{colspan}
		class={cn(
			'h-45 px-6 text-center break-words whitespace-normal text-muted-foreground',
			className
		)}
	>
		{message}
	</Table.Cell>
</Table.Row>