0.0.33 • Published 6 months ago

@types/react-tap-event-plugin v0.0.33

Weekly downloads
2,184
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for react-tap-event-plugin
// Project: https://github.com/zilverline/react-tap-event-plugin
// Definitions by: Michael Ledin <https://github.com/mxl>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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

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

export = injectTapEventPlugin;

Additional Details

  • Last updated: Thu, 08 Jul 2021 22:41:39 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Michael Ledin.