Experimental Editor component

This commit is contained in:
davideraccagni 2022-04-22 03:59:44 +02:00
commit 8b8ffbf79a
14 changed files with 3597 additions and 4215 deletions

View file

@ -32,9 +32,9 @@ export interface AutoCompleteProps
/**
* Determine if an item should be filtered given the current combobox value
* @default () => []
* @default () => {}
*/
shouldFilterItem?: (value: string) => AutoCompleteItem[];
shouldFilterItem?: (value: string) => {};
/**
* Specify the direction of the dropdown menu
@ -143,6 +143,11 @@ export interface AutoCompleteProps
* @default null
*/
listRef?: null | HTMLDivElement;
/**
* @default []
*/
filteredItems?: [];
}
export default class AutoComplete extends SvelteComponentTyped<