1
0
Fork 0
mirror of synced 2024-09-19 18:59:06 +12:00
budibase/packages/standard-components/src/Container.svelte

14 lines
268 B
Svelte
Raw Normal View History

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