fix(toolbar): prevent duplicate command execution on repeated interactions (#5456)
This commit is contained in:
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 = {
|
||||
|
||||
Reference in new issue
Block a user