12 lines
267 B
Svelte
12 lines
267 B
Svelte
<script>
|
|
import { getContext } from "svelte"
|
|
|
|
const { styleable, transition } = getContext("sdk")
|
|
const component = getContext("component")
|
|
</script>
|
|
|
|
<div
|
|
in:transition={{ type: $component.transition }}
|
|
use:styleable={$component.styles}>
|
|
<slot />
|
|
</div>
|