fix(toolbar): prevent duplicate command execution on repeated interactions (#5456)

This commit is contained in:
Pedro Köhler authored and GitHub committed 2025-10-07 08:52:56 -04:00
1 parent 9e79e76bab
commit 4d04dd5651
6 files changed
+238 -42

No files matched your search

@@ -40,10 +40,11 @@ export type ButtonOptions = {
max?: number;
step?: number;
value?: number | number[] | string;
commands?: (value: unknown) => void;
commands?: RunCommand;
condition?: (props: Record<string, unknown>) => boolean;
children?: React.ReactNode | (() => React.ReactNode);
options?: Array<{ value: string; label: string }>;
explicitRunOnly?: boolean;
};
export type ButtonProps = {