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