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

20 lines
282 B
Svelte

<script>
export let _children = [];
export let className="";
export let onLoad;
export let _bb;
let rootDiv;
$:{
if(_bb && rootDiv && _children && _children.length)
_bb.hydrateChildren(_children, theButton);
}
</script>
<div class="{className}" bind:this={rootDiv}>
</div>