Remove shouldCloseCommandMenuOnClick (#12593)

Remove deprecated prop `shouldCloseCommandMenuOnClick`
This commit is contained in:
Raphaël Bosi
2025-06-13 13:58:02 +02:00
committed by GitHub
parent 43f611c47b
commit fdb5764acd
3 changed files with 0 additions and 3 deletions

View File

@ -15,7 +15,6 @@ export type CommandMenuItemProps = {
onClick?: () => void;
Icon?: IconComponent;
hotKeys?: string[];
shouldCloseCommandMenuOnClick?: boolean;
RightComponent?: ReactNode;
};

View File

@ -53,7 +53,6 @@ export const useCommandMenuSearchRecords = () => {
),
shouldBeRegistered: () => true,
description: capitalize(searchRecord.objectNameSingular),
shouldCloseCommandMenuOnClick: true,
};
if (

View File

@ -23,5 +23,4 @@ export type Command = {
Icon?: IconComponent;
hotKeys?: string[];
onCommandClick?: () => void;
shouldCloseCommandMenuOnClick?: boolean;
};