Skip to content

Commit

Permalink
Fix Update migrate-from-v2-to-v3.md
Browse files Browse the repository at this point in the history
properties were wrong
  • Loading branch information
andylwelch authored May 26, 2023
1 parent b40bd9d commit 651cb27
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/migrate-from-v2-to-v3.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class MyViewer extends React.Component {
return (
<UncontrolledReactSVGPanZoom
width={200} height={400}
>....</ReactSVGPanZoom>
>....</UncontrolledReactSVGPanZoom>
)
}
}
Expand All @@ -72,14 +72,14 @@ Replace
with
```javascript
const minitiatureProps = {
miniaturePosition: "left",
miniatureBackground: "#fff",
miniatureWidth: 100,
miniatureHeight: 80
position: "left",
background: "#fff",
width: 100,
height: 80
}

const toolbarProps = {
toolbarPosition: "right"
position: "right"
}

<ReactSVGPanZoom
Expand Down

0 comments on commit 651cb27

Please sign in to comment.