toggle group: add arrow key navigation

This commit is contained in:
Elijah Duffy
2025-07-10 17:17:46 -07:00
parent e26ed5403a
commit 5b37bda207
4 changed files with 58 additions and 23 deletions

View File

@@ -2,7 +2,6 @@
import type { Snippet } from 'svelte';
import type { ClassValue, HTMLButtonAttributes, MouseEventHandler } from 'svelte/elements';
import Spinner from './Spinner.svelte';
import type { IconComponentProps } from 'phosphor-svelte';
import { defaultIconProps, type IconDef } from './util';
interface Props extends Omit<HTMLButtonAttributes, 'class'> {