From 1dcfb2dfcead78623b0d36b5634eb316e9b57849 Mon Sep 17 00:00:00 2001 From: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com> Date: Sun, 19 Jun 2022 21:29:33 +0200 Subject: [PATCH] docs: update `minimap-node.md` --- docs/src/guide/components/minimap-node.md | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/docs/src/guide/components/minimap-node.md b/docs/src/guide/components/minimap-node.md index c934dd6c..0204ac1a 100644 --- a/docs/src/guide/components/minimap-node.md +++ b/docs/src/guide/components/minimap-node.md @@ -1,5 +1,8 @@ # MiniMap Node +The minimap node component can be used to extend the default minimap nodes. +You can use it to add an icon to your node, or to add a custom tooltip etc. + ## Usage To use the component pass the `MiniMapNode` as a child to the [`MiniMap`](/guide/components/minimap.html/) component. @@ -18,18 +21,6 @@ To use the component pass the `MiniMapNode` as a child to the [`MiniMap`](/guide ## Props -id: string -parentNode?: string -selected?: boolean -dragging?: boolean -position: XYPosition -dimensions: Dimensions -borderRadius?: number -color?: string -shapeRendering?: ShapeRendering -strokeColor?: string -strokeWidth?: number - | Name | Definition | Type | Optional | Default | |----------------|---------------------------------|-----------------------------------------------------|----------|---------| | id | Node id | string | false | - |