2020-02-15 00:51:45 +13:00
|
|
|
<script>
|
2020-11-19 08:18:18 +13:00
|
|
|
import { getContext } from "svelte"
|
|
|
|
|
2021-03-02 04:53:37 +13:00
|
|
|
const { styleable, transition } = getContext("sdk")
|
2020-11-25 00:02:10 +13:00
|
|
|
const component = getContext("component")
|
2020-02-15 00:51:45 +13:00
|
|
|
</script>
|
|
|
|
|
2021-04-02 07:19:14 +13:00
|
|
|
<div
|
|
|
|
in:transition={{ type: $component.transition }}
|
|
|
|
use:styleable={$component.styles}>
|
|
|
|
<slot />
|
|
|
|
</div>
|