-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreact-draggable.d.ts
45 lines (37 loc) · 1.1 KB
/
react-draggable.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
///<reference path="./typings/react/react.d.ts"/>
declare module "typescript-react-draggable" {
import {Component} from 'react';
export interface DraggableProps {
className?:string;
}
export class Draggable extends Component<DraggableProps,any>{
drag:any;
constructor(props:DraggableProps);
_onDrag():void;
componentDidMount():void;
}
export interface SVGDraggableProps {
className?:string;
}
export class SVGDraggable extends Component<SVGDraggableProps,any>{
drag:any;
constructor(props:SVGDraggableProps);
_onDrag():void;
componentDidMount():void;
}
export interface ZoomableProps {
className?:string;
}
export class Zoomable extends Component<ZoomableProps,any>{
zoom:any;
constructor(props:ZoomableProps);
_onZoom():void;
componentDidMount():void;
}
export class SVGZoomable extends Component<ZoomableProps,any>{
zoom:any;
constructor(props:ZoomableProps);
_onZoom():void;
componentDidMount():void;
}
}