We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 36fedc1 + 88c5b45 commit e549aa9Copy full SHA for e549aa9
src/BlocklyWorkspaceProps.ts
@@ -4,9 +4,9 @@ import { RefObject } from "react";
4
export interface CommonBlocklyProps {
5
initialXml?: string;
6
initialJson?: object;
7
- toolboxConfiguration: Blockly.utils.toolbox.ToolboxDefinition;
+ toolboxConfiguration?: Blockly.utils.toolbox.ToolboxDefinition;
8
workspaceConfiguration: Blockly.BlocklyOptions;
9
- onWorkspaceChange: (workspace: WorkspaceSvg) => void;
+ onWorkspaceChange?: (workspace: WorkspaceSvg) => void;
10
// eslint-disable-next-line @typescript-eslint/no-explicit-any
11
onImportXmlError?: (error: any) => void;
12
0 commit comments