mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-23 00:15:05 +01:00
feat(CommandPalette): new component (#80)
This commit is contained in:
@@ -47,6 +47,9 @@ export function extractShortcuts(items: any[] | any[][]) {
|
||||
if (item.children) {
|
||||
traverse(item.children.flat())
|
||||
}
|
||||
if (item.items) {
|
||||
traverse(item.items.flat())
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user