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:
+4
@@ -0,0 +1,4 @@
|
||||
import React from 'react';
|
||||
import { EdgeBezierProps } from '../../types';
|
||||
declare const _default: React.MemoExoticComponent<({ sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, style, }: EdgeBezierProps) => JSX.Element>;
|
||||
export default _default;
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
import React from 'react';
|
||||
import { EdgeProps } from '../../types';
|
||||
declare const _default: React.MemoExoticComponent<({ sourceX, sourceY, targetX, targetY, style }: EdgeProps) => JSX.Element>;
|
||||
export default _default;
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
import React from 'react';
|
||||
import { EdgeProps } from '../../types';
|
||||
declare const _default: React.MemoExoticComponent<({ sourceX, sourceY, targetX, targetY, style }: EdgeProps) => JSX.Element>;
|
||||
export default _default;
|
||||
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
import React from 'react';
|
||||
import { ElementId, Edge, EdgeCompProps } from '../../types';
|
||||
interface EdgeWrapperProps {
|
||||
id: ElementId;
|
||||
source: ElementId;
|
||||
target: ElementId;
|
||||
type: any;
|
||||
onClick: (edge: Edge) => void;
|
||||
animated: boolean;
|
||||
selected: boolean;
|
||||
}
|
||||
declare const _default: (EdgeComponent: React.ComponentType<EdgeCompProps>) => React.MemoExoticComponent<({ id, source, target, type, animated, selected, onClick, ...rest }: EdgeWrapperProps) => JSX.Element>;
|
||||
export default _default;
|
||||
Reference in New Issue
Block a user