* 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
10 lines
379 B
TypeScript
10 lines
379 B
TypeScript
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;
|