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 }}
|
2021-05-04 22:04:42 +12:00
|
|
|
use:styleable={$component.styles}
|
|
|
|
>
|
2021-04-02 07:19:14 +13:00
|
|
|
<slot />
|
|
|
|
</div>
|