react-zoom-pan-pinch
Version:
Zoom and pan html elements in easy way
16 lines (10 loc) • 328 B
text/mdx
import { Meta } from "@storybook/addon-docs/blocks";
<Meta title="Hooks/useTransformContext" />
Use the direct access to the `Zoom-Pan-Pinch instance` and create your own hooks
and logic with ease.
```tsx
// Simple access to the context instance
const context = useTransformContext();
```