refactor(svelte): cleanup components

This commit is contained in:
moklick
2023-03-01 11:48:08 +01:00
parent 00515e1f9b
commit 9391b36869
61 changed files with 600 additions and 196 deletions
@@ -2,7 +2,7 @@
import { shortcut } from '@svelte-put/shortcut';
import { useStore } from '$lib/store';
import type { KeyHandlerProps } from './KeyHandler';
import type { KeyHandlerProps } from './types';
import type { KeyDefinition, KeyDefinitionObject } from '$lib/types';
const { selectionKeyPressed, deleteKeyPressed } = useStore();
@@ -1,2 +1,2 @@
export { default as KeyHandler } from './KeyHandler.svelte';
export type { KeyHandlerProps } from './KeyHandler';
export type { KeyHandlerProps } from './types';
@@ -1,4 +1,4 @@
import { KeyDefinition } from '$lib/types';
import type { KeyDefinition } from '$lib/types';
export type KeyHandlerProps = {
selectionKey?: KeyDefinition;