npm.io
0.0.33 • Published 2 years ago

@types/react-tap-event-plugin

Licence
MIT
Version
0.0.33
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/react-tap-event-plugin

Summary

This package contains type definitions for react-tap-event-plugin (https://github.com/zilverline/react-tap-event-plugin).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-tap-event-plugin.

index.d.ts

interface StrategyOverrides {
    shouldRejectClick?: ((lastTouchEventTimestamp: Date, clickEventTimestamp: Date) => boolean) | undefined;
}

declare var injectTapEventPlugin: (strategyOverrides?: StrategyOverrides) => void;

export = injectTapEventPlugin;

Additional Details

  • Last updated: Tue, 07 Nov 2023 0939 GMT
  • Dependencies: none

Credits

These definitions were written by Michael Ledin.