make keybinds configurable
This commit is contained in:
11
src/ui/KeyCombo.svelte
Normal file
11
src/ui/KeyCombo.svelte
Normal file
@ -0,0 +1,11 @@
|
||||
<script>
|
||||
export let keys;
|
||||
</script>
|
||||
|
||||
|
||||
<div class="flex gap-x-[0.2em] items-center">
|
||||
{#each keys as key, i}
|
||||
{#if i > 0} + {/if}
|
||||
<kbd class="normal-case px-1 py-0.5 rounded border border-neutral">{key}</kbd>
|
||||
{/each}
|
||||
</div>
|
Reference in New Issue
Block a user