UNPKG

657 BTypeScriptView Raw
1import { ContinousBaseGesture } from './gesture';
2import type { RotationGestureHandlerEventPayload } from '../GestureHandlerEventPayload';
3import { GestureUpdateEvent } from '../gestureHandlerCommon';
4type RotationGestureChangeEventPayload = {
5 rotationChange: number;
6};
7export declare class RotationGesture extends ContinousBaseGesture<RotationGestureHandlerEventPayload, RotationGestureChangeEventPayload> {
8 constructor();
9 onChange(callback: (event: GestureUpdateEvent<RotationGestureHandlerEventPayload & RotationGestureChangeEventPayload>) => void): this;
10}
11export type RotationGestureType = InstanceType<typeof RotationGesture>;
12export {};