Reorganize repo structure and standards references
This commit is contained in:
1 parent
3cb93a81be
commit
be2054274d
5885 files changed
+2588
-195
No files matched your search
+15
@@ -0,0 +1,15 @@
|
||||
import { createContext } from "react";
|
||||
|
||||
const WorkflowContext = createContext<{
|
||||
isReadOnly: boolean;
|
||||
onEdgeDelete: (edgeId: string) => void;
|
||||
onNodeDelete: (nodeId: string) => void;
|
||||
isNodeSelected: (nodeId: string) => boolean;
|
||||
incomingBlockIds?: ReadonlySet<string>;
|
||||
}>({
|
||||
isReadOnly: false,
|
||||
onEdgeDelete: (edgeId) => {},
|
||||
onNodeDelete: (nodeId) => {},
|
||||
isNodeSelected: (nodeId) => false,
|
||||
});
|
||||
export default WorkflowContext;
|
||||
Reference in new issue
Block a user