anki/ts/editor/Components.svelte

22 lines
726 B
Svelte
Raw Normal View History

<!--
Copyright: Ankitects Pty Ltd and contributors
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
-->
<script context="module" lang="typescript">
import IconButton from "components/IconButton.svelte";
import LabelButton from "components/LabelButton.svelte";
import WithContext from "components/WithContext.svelte";
import WithState from "components/WithState.svelte";
import * as contextKeys from "components/context-keys";
import * as editorContextKeys from "./context-keys";
export const components = {
IconButton,
LabelButton,
WithContext,
WithState,
contextKeys: { ...contextKeys, ...editorContextKeys },
};
</script>