UNPKG

918 BMarkdownView Raw
1# Installation
2> `npm install --save @types/react-tap-event-plugin`
3
4# Summary
5This package contains type definitions for react-tap-event-plugin (https://github.com/zilverline/react-tap-event-plugin).
6
7# Details
8Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-tap-event-plugin.
9## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-tap-event-plugin/index.d.ts)
10````ts
11interface StrategyOverrides {
12 shouldRejectClick?: ((lastTouchEventTimestamp: Date, clickEventTimestamp: Date) => boolean) | undefined;
13}
14
15declare var injectTapEventPlugin: (strategyOverrides?: StrategyOverrides) => void;
16
17export = injectTapEventPlugin;
18
19````
20
21### Additional Details
22 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
23 * Dependencies: none
24
25# Credits
26These definitions were written by [Michael Ledin](https://github.com/mxl).
27
\No newline at end of file