feat(CommandPalette): handle loading field in items

This commit is contained in:
Benjamin Canac
2024-10-17 21:13:11 +02:00
parent c1294f6505
commit 49abad243c
4 changed files with 24 additions and 5 deletions

View File

@@ -41,6 +41,7 @@ Each group takes some `items` as an array of objects with the following properti
- `avatar?: AvatarProps`{lang="ts-type"}
- `chip?: ChipProps`{lang="ts-type"}
- `kbds?: string[] | KbdProps[]`{lang="ts-type"}
- `loading?: boolean`{lang="ts-type"}
- `disabled?: boolean`{lang="ts-type"}
- [`slot?: string`{lang="ts-type"}](#with-custom-slot)
- `onSelect?(e?: Event): void`{lang="ts-type"}