develop (#43)
* fix(ts): use strict mode strictNullChecks etc * chore: Use extended React.HTMLAttributes<> (#41) * refactor(code-format): add prettier closes #42 * feat(renderer): add snap to grid option closes #20 * chore(dependabot): use develop as target branch
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
import React from 'react';
|
||||
import { NodeTypesType } from '../../types';
|
||||
interface NodeRendererProps {
|
||||
nodeTypes: NodeTypesType;
|
||||
onElementClick: () => void;
|
||||
onNodeDragStop: () => void;
|
||||
}
|
||||
declare const NodeRenderer: React.MemoExoticComponent<(props: NodeRendererProps) => JSX.Element>;
|
||||
export default NodeRenderer;
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
import { NodeTypesType } from '../../types';
|
||||
export declare function createNodeTypes(nodeTypes: NodeTypesType): NodeTypesType;
|
||||
Reference in New Issue
Block a user