Skip to content

Commit

Permalink
Merge pull request #218 from andylwelch/patch-1
Browse files Browse the repository at this point in the history
Documentation fix - Update migrate-from-v2-to-v3.md
  • Loading branch information
chrvadala authored Aug 6, 2024
2 parents b40bd9d + 651cb27 commit caee324
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 caee324

Please sign in to comment.