UNPKG

@airplane/views

Version:

A React library for building Airplane views. Views components are optimized in style and functionality to produce internal apps that are easy to build and maintain.

13 lines (12 loc) 292 B
type Coords = { x: number; y: number; }; type DragProps = { to?: HTMLElement | Coords; delta?: Coords; steps?: number; duration?: number; }; export declare function drag(element: HTMLElement, { to: inTo, delta, steps, duration }: DragProps): Promise<void>; export {};