1
0
Fork 0
mirror of synced 2024-07-16 19:56:10 +12:00
budibase/packages/standard-components/src/Container.svelte
2021-04-01 19:19:14 +01:00

13 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>