f534dbb8e5
* Put PlainTextInput into its own directory * Create a directory for RichTextInput * Create editor-toolbar directory * Move PreviewButton into editor-toolbar * The time to refactor this is not quite yet here * Create tag-editor directory * Remove some of the uses of WithShortcut * Remove all uses of WithShortcut from editor package * Remove last uses of WithShortcut * Fix typo
19 lines
490 B
Svelte
19 lines
490 B
Svelte
<!--
|
|
Copyright: Ankitects Pty Ltd and contributors
|
|
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
-->
|
|
<script lang="ts">
|
|
import ButtonGroup from "../../components/ButtonGroup.svelte";
|
|
import ButtonGroupItem from "../../components/ButtonGroupItem.svelte";
|
|
|
|
export let buttons: string[];
|
|
</script>
|
|
|
|
<ButtonGroup>
|
|
{#each buttons as button}
|
|
<ButtonGroupItem>
|
|
{@html button}
|
|
</ButtonGroupItem>
|
|
{/each}
|
|
</ButtonGroup>
|