@types/react-tap-event-plugin
Version:
TypeScript definitions for react-tap-event-plugin
27 lines (19 loc) • 918 B
Markdown
# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-tap-event-plugin/index.d.ts)
````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 09:09:39 GMT
* Dependencies: none
# Credits
These definitions were written by [Michael Ledin](https://github.com/mxl).