feat: rebuild command menu (#6692)
This commit is contained in:
1 parent
c9a48fa23f
commit
97d8390b20
59 files changed
+1559
-863
No files matched your search
@@ -36,7 +36,8 @@ type Command<TSearchInteraction extends SearchInteraction = SearchInteraction> =
|
||||
|
||||
export const globalCommandGroup = createGroup<Command>({
|
||||
keyPath: "commandKey",
|
||||
title: "Global commands",
|
||||
title: (t) => t("search.mode.command.group.globalCommand.title"),
|
||||
source: { kind: "local" },
|
||||
useInteraction: (option, query) => option.useInteraction(option, query),
|
||||
Component: ({ icon: Icon, name }) => (
|
||||
<Group px="md" py="sm">
|
||||
|
||||
Reference in new issue
Block a user