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