Remove shouldCloseCommandMenuOnClick (#12593)

Remove deprecated prop `shouldCloseCommandMenuOnClick`
This commit is contained in:
Raphaël Bosi
2025-06-13 11:58:02 +00:00
committed by GitHub
parent 43f611c47b
commit fdb5764acd
3 changed files with 0 additions and 3 deletions
@@ -15,7 +15,6 @@ export type CommandMenuItemProps = {
onClick?: () => void;
Icon?: IconComponent;
hotKeys?: string[];
shouldCloseCommandMenuOnClick?: boolean;
RightComponent?: ReactNode;
};
@@ -53,7 +53,6 @@ export const useCommandMenuSearchRecords = () => {
),
shouldBeRegistered: () => true,
description: capitalize(searchRecord.objectNameSingular),
shouldCloseCommandMenuOnClick: true,
};
if (
@@ -23,5 +23,4 @@ export type Command = {
Icon?: IconComponent;
hotKeys?: string[];
onCommandClick?: () => void;
shouldCloseCommandMenuOnClick?: boolean;
};