@mindly/ui-components 8.11.2 → 8.11.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { UseSwipeOptions } from '../../shared/hooks/useSwipe';
3
+ type UseSwipeFeatureProps = UseSwipeOptions & {
4
+ className?: string;
5
+ children: React.ReactNode;
6
+ };
7
+ declare const UseSwipeFeature: React.FC<UseSwipeFeatureProps>;
8
+ export default UseSwipeFeature;
@@ -1,5 +1,5 @@
1
1
  import { DependencyList } from 'react';
2
- type UseSwipeOptions = {
2
+ export type UseSwipeOptions = {
3
3
  onSwipeLeft?: () => void;
4
4
  onSwipeRight?: () => void;
5
5
  onSwipeUp?: () => void;
@@ -13,4 +13,3 @@ type UseSwipeOptions = {
13
13
  export declare const useSwipe: (options?: UseSwipeOptions, deps?: DependencyList) => {
14
14
  ref: import("react").RefObject<HTMLDivElement | null>;
15
15
  };
16
- export {};