1 | // Type definitions for react-tap-event-plugin
|
2 | // Project: https://github.com/zilverline/react-tap-event-plugin
|
3 | // Definitions by: Michael Ledin <https://github.com/mxl>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 |
|
6 | interface StrategyOverrides {
|
7 | shouldRejectClick?: ((lastTouchEventTimestamp: Date, clickEventTimestamp: Date) => boolean) | undefined;
|
8 | }
|
9 |
|
10 | declare var injectTapEventPlugin: (strategyOverrides?: StrategyOverrides) => void;
|
11 |
|
12 | export = injectTapEventPlugin;
|