Svelte Table
Quick start
npm i @hurtigruten/svelte-table@2.0.4 --save
Simple example
<SvelteTable {rows} {columns} />
Table with custom components
<SvelteTable {rows} {columns} let:cell let:column>
<span class="text-white bg-gray-800" slot="head">{column.title}</span>
<span class="flex items-center bg-blue-100" slot="cell">{cell}</span>
</SvelteTable>