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:
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
import React from 'react';
|
||||
interface ControlProps extends React.HTMLAttributes<HTMLDivElement> {
|
||||
}
|
||||
declare const _default: ({ style, className }: ControlProps) => JSX.Element;
|
||||
export default _default;
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
import React from 'react';
|
||||
import { Node } from '../../types';
|
||||
declare type StringFunc = (node: Node) => string;
|
||||
interface MiniMapProps extends React.HTMLAttributes<HTMLCanvasElement> {
|
||||
bgColor?: string;
|
||||
nodeColor?: string | StringFunc;
|
||||
}
|
||||
declare const _default: ({ style, className, bgColor, nodeColor, }: MiniMapProps) => JSX.Element;
|
||||
export default _default;
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
export { default as MiniMap } from './MiniMap';
|
||||
export { default as Controls } from './Controls';
|
||||
Reference in New Issue
Block a user