budibase/packages/bbui/src/TreeView/Tree.svelte

11 lines
331 B
Svelte
Raw Normal View History

2021-04-16 16:17:26 +02:00
<script>
import "@spectrum-css/treeview/dist/index-vars.css"
export let quiet = false
2021-04-16 16:41:04 +02:00
export let standalone = true
export let width = '250px';
2021-04-16 16:17:26 +02:00
</script>
2021-04-16 16:41:04 +02:00
<ul class:spectrum-TreeView--standalone={standalone} class:spectrum-TreeView--quiet={quiet} class="spectrum-TreeView" style="width: {width}">
2021-04-16 16:17:26 +02:00
<slot />
</ul>