UNPKG

@devgateway/dvz-ui-react

Version:

A modular, embeddable React component library for data visualization and UI, built with TypeScript. Provides reusable components for charts, maps, dashboards, and more, with built-in support for internationalization and Redux integration.

24 lines (23 loc) 780 B
import { default as React } from 'react'; export default ZoomControl; declare class ZoomControl extends React.Component<any, any, any> { constructor(props: any); zooming: boolean; zoomstarted: () => void; zoomEnd(event: any): void; zoomed(event: any): void; zoomIn(e: any): void; zoomOut(): void; reset(): void; fullView(): void; transition2fullView(): void; _fullView(transition?: boolean): void; zoomRef: React.RefObject<any>; zoom: d3.ZoomBehavior<Element, any>; componentDidMount(): void; componentDidUpdate(prevProps: any, prevState: any, snapshot: any): void; zoomStarted(): void; getSelection(): d3.Selection<any, any, null, undefined> | null; render(): React.JSX.Element; } import * as d3 from 'd3';