UNPKG

moppium-react-flow-renderer

Version:

[![react-flow](https://user-images.githubusercontent.com/2857535/95224198-b2540000-07fa-11eb-832d-361d72d60345.jpg)](https://reactflow.dev)

17 lines (16 loc) 639 B
import React from 'react'; import { Node } from '../../types'; import './style.css'; declare type StringFunc = (node: Node) => string; export interface MiniMapProps extends React.HTMLAttributes<SVGSVGElement> { nodeColor?: string | StringFunc; nodeStrokeColor?: string | StringFunc; nodeClassName?: string | StringFunc; nodeBorderRadius?: number; maskColor?: string; } declare const _default: React.MemoExoticComponent<{ ({ style, className, nodeStrokeColor, nodeColor, nodeClassName, nodeBorderRadius, maskColor, }: MiniMapProps): JSX.Element; displayName: string; }>; export default _default;