mirror of
https://github.com/zoriya/v10.git
synced 2026-08-14 09:59:44 +00:00
22 lines
829 B
TypeScript
22 lines
829 B
TypeScript
import { GestureActionName, GesturePointerType, GestureRegion } from "@videojs/core/dom";
|
|
import { ReactNode } from "react";
|
|
//#region src/ui/gesture/gesture.d.ts
|
|
interface GestureProps {
|
|
type: 'tap' | 'doubletap' | (string & {});
|
|
action: GestureActionName | (string & {});
|
|
value?: number;
|
|
pointer?: GesturePointerType;
|
|
region?: GestureRegion;
|
|
disabled?: boolean;
|
|
}
|
|
declare function Gesture({ type, action, value, pointer, region, disabled }: GestureProps): ReactNode;
|
|
declare namespace Gesture {
|
|
type Props = GestureProps;
|
|
}
|
|
/** @deprecated Use `GestureProps` instead. */
|
|
type MediaGestureProps = GestureProps;
|
|
/** @deprecated Use `Gesture` instead. */
|
|
declare const MediaGesture: typeof Gesture;
|
|
//#endregion
|
|
export { Gesture, GestureProps, MediaGesture, MediaGestureProps };
|
|
//# sourceMappingURL=gesture.d.ts.map
|