budibase/packages/standard-components/src/Container.svelte

13 lines
267 B
Svelte
Raw Normal View History

<script>
import { getContext } from "svelte"
const { styleable, transition } = getContext("sdk")
const component = getContext("component")
</script>
2021-04-01 20:19:14 +02:00
<div
in:transition={{ type: $component.transition }}
use:styleable={$component.styles}>
<slot />
</div>