fix: minimap prop type missing
* cant import stringfunc type (string literal and all...) Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -36,7 +36,7 @@ export interface ControlEvents {
|
||||
export type StringFunc = (node: Node) => string
|
||||
export type ShapeRendering = 'inherit' | 'auto' | 'geometricPrecision' | 'optimizeSpeed' | 'crispEdges' | undefined
|
||||
|
||||
interface MiniMapProps {
|
||||
export interface MiniMapProps {
|
||||
nodeColor?: string | StringFunc
|
||||
nodeStrokeColor?: string | StringFunc
|
||||
nodeClassName?: string | StringFunc
|
||||
@@ -45,7 +45,7 @@ interface MiniMapProps {
|
||||
maskColor?: string
|
||||
}
|
||||
|
||||
interface MiniMapNodeProps {
|
||||
export interface MiniMapNodeProps {
|
||||
x?: number
|
||||
y?: number
|
||||
width?: number
|
||||
|
||||
Reference in New Issue
Block a user