Skip to content

Commit b5a9b43

Browse files
committed
README.md: add prop zoomAlignmentY to API
1 parent 011c042 commit b5a9b43

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,10 @@ export interface UncontrolledProps {
121121
// be from the window's boundaries.
122122
// Default: 0
123123
zoomMargin?: number
124+
125+
// Align the zoomed image vertically to the top or center of the viewport.
126+
// Default: 'center'
127+
zoomAlignmentY?: 'center' | 'top'
124128
}
125129
```
126130

0 commit comments

Comments
 (0)