@sasza/react-panzoom
Version:
React component for pan and zoom with possibility to moving, resizing and selecting elements inside
10 lines (5 loc) • 359 B
TypeScript
import { ElementProps, PanZoomPropsRef, PanZoomWithCoverPropsRef } from './types';
export { API, ElementOptions, PanZoomOptions } from './types';
export default function PanZoom(props: PanZoomPropsRef): JSX.Element;
export function Element(props: ElementProps): JSX.Element;
export function PanZoomWithCover(props: PanZoomWithCoverPropsRef): JSX.Element;