Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasvo committed Jan 10, 2025
1 parent 72dd485 commit ad6a6aa
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/commonjs/ReactNativeZoomableView.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/commonjs/ReactNativeZoomableView.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/module/ReactNativeZoomableView.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/module/ReactNativeZoomableView.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/typescript/ReactNativeZoomableView.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ declare class ReactNativeZoomableView extends Component<ReactNativeZoomableViewP
* { x: 0, y: 0 } is the very center of the zoom subject.
*
* @param newZoomLevel
* @param zoomCenter
* @param zoomCenter - If not supplied, the container's center is the zoom center
*/
zoomTo(newZoomLevel: number, zoomCenter?: Vec2D): boolean;
/**
Expand Down
2 changes: 1 addition & 1 deletion src/ReactNativeZoomableView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@ class ReactNativeZoomableView extends Component<
* { x: 0, y: 0 } is the very center of the zoom subject.
*
* @param newZoomLevel
* @param zoomCenter
* @param zoomCenter - If not supplied, the container's center is the zoom center
*/
zoomTo(newZoomLevel: number, zoomCenter?: Vec2D) {
if (!this.props.zoomEnabled) return false;
Expand Down

0 comments on commit ad6a6aa

Please sign in to comment.