claritykit-svelte
Version:
A comprehensive Svelte component library focused on accessibility, ADHD-optimized design, developer experience, and full SSR compatibility
15 lines • 532 B
TypeScript
import type { MentionUser } from './MentionExtension';
interface MentionListProps {
items: MentionUser[];
command: (item: MentionUser) => void;
query: string;
selectedIndex: number;
decorationNode?: HTMLElement;
clientRect?: () => DOMRect | null;
}
declare const MentionList: import("svelte").Component<MentionListProps, {
onKeyDown: (event: KeyboardEvent) => boolean;
}, "">;
type MentionList = ReturnType<typeof MentionList>;
export default MentionList;
//# sourceMappingURL=MentionList.svelte.d.ts.map