UNPKG

@dnd-kit/core

Version:

dnd kit – a lightweight React library for building performant and accessible drag and drop experiences

4 lines (3 loc) 394 B
import type { SensorActivatorFunction, SensorDescriptor } from '../../sensors'; import type { SyntheticListener, SyntheticListeners } from './useSyntheticListeners'; export declare function useCombineActivators(sensors: SensorDescriptor<any>[], getSyntheticHandler: (handler: SensorActivatorFunction<any>, sensor: SensorDescriptor<any>) => SyntheticListener['handler']): SyntheticListeners;