import type { AnyGesture } from '../../types';
import { ComposedGestureName } from '../../types';
import { useComposedGesture } from './useComposedGesture';

export function useSimultaneousGestures(...gestures: AnyGesture[]) {
  const composedGesture = useComposedGesture(
    ComposedGestureName.Simultaneous,
    ...gestures
  );

  return composedGesture;
}
