2021-04-01 16:29:24 +02:00
|
|
|
<script lang="typescript">
|
2021-04-08 18:43:15 +02:00
|
|
|
import type { DynamicSvelteComponent } from "sveltelib/dynamicComponent";
|
2021-04-01 16:29:24 +02:00
|
|
|
import ButtonGroup from "./ButtonGroup.svelte";
|
|
|
|
|
|
|
|
export let id = "";
|
|
|
|
export let className = "";
|
|
|
|
|
|
|
|
function extendClassName(className: string): string {
|
|
|
|
return `dropdown-menu bg-transparent border-0 ${className}`;
|
|
|
|
}
|
|
|
|
|
2021-04-08 18:43:15 +02:00
|
|
|
export let buttons: DynamicSvelteComponent[];
|
2021-04-01 16:29:24 +02:00
|
|
|
</script>
|
|
|
|
|
2021-04-08 18:57:20 +02:00
|
|
|
<ButtonGroup {id} className={extendClassName(className)} {buttons} {...$$restProps} />
|