2020-10-08 10:30:51 +13:00
|
|
|
<script>
|
2020-11-20 22:50:10 +13:00
|
|
|
import { getContext } from "svelte"
|
|
|
|
|
2020-12-03 02:49:24 +13:00
|
|
|
const { DataProvider, styleable } = getContext("sdk")
|
|
|
|
const component = getContext("component")
|
2020-10-08 10:30:51 +13:00
|
|
|
|
2020-10-13 01:34:32 +13:00
|
|
|
export let table
|
2020-10-08 10:30:51 +13:00
|
|
|
</script>
|
|
|
|
|
2020-12-03 02:49:24 +13:00
|
|
|
<div use:styleable={$component.styles}>
|
|
|
|
<DataProvider row={{ tableId: table }}>
|
|
|
|
<slot />
|
|
|
|
</DataProvider>
|
|
|
|
</div>
|