react-hook-toolkit 1.0.14 → 1.0.16
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.
- package/README.md +321 -485
- package/dist/hooks/chunk940514.d.ts +13 -0
- package/dist/hooks/chunk940514.js +46 -0
- package/package.json +1 -1
- package/dist/contexts/DrowerContexts.d.ts +0 -16
- package/dist/contexts/DrowerContexts.js +0 -35
- package/dist/hookExecuter/hookExecuter.d.ts +0 -20
- package/dist/hookExecuter/hookExecuter.js +0 -58
- package/dist/hooks/hooks.d.ts +0 -195
- package/dist/hooks/hooks.js +0 -1157
- package/dist/hooks/hooksComp.d.ts +0 -55
- package/dist/hooks/hooksComp.js +0 -168
- package/dist/skeletons/skeletons.d.ts +0 -19
- package/dist/skeletons/skeletons.js +0 -94
|
@@ -69,6 +69,19 @@ export declare const useStepper: (totalSteps: number) => {
|
|
|
69
69
|
isLastStep: boolean;
|
|
70
70
|
isProccesing: boolean;
|
|
71
71
|
setIsProccesing: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
72
|
+
goto: (step: number) => void;
|
|
73
|
+
};
|
|
74
|
+
export declare const useSteps: (totalSteps: number) => {
|
|
75
|
+
activeStep: number;
|
|
76
|
+
handleNext: () => void;
|
|
77
|
+
handleBack: () => void;
|
|
78
|
+
handleReset: () => void;
|
|
79
|
+
goto: (step: number) => void;
|
|
80
|
+
totalSteps: number;
|
|
81
|
+
isFirstStep: boolean;
|
|
82
|
+
isLastStep: boolean;
|
|
83
|
+
isProcessing: boolean;
|
|
84
|
+
setIsProcessing: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
72
85
|
};
|
|
73
86
|
export declare function useTimeoutFn(callback: () => void, delay: number | null): {
|
|
74
87
|
reset: () => void;
|
|
@@ -431,6 +431,14 @@ export var useStepper = function (totalSteps) {
|
|
|
431
431
|
var handleReset = function () {
|
|
432
432
|
setActiveStep(0);
|
|
433
433
|
};
|
|
434
|
+
var goto = function (step) {
|
|
435
|
+
if (step >= 0 && step < totalSteps) {
|
|
436
|
+
setActiveStep(step);
|
|
437
|
+
}
|
|
438
|
+
else {
|
|
439
|
+
console.warn("Step ".concat(step, " is out of bounds (0-").concat(totalSteps - 1, ")"));
|
|
440
|
+
}
|
|
441
|
+
};
|
|
434
442
|
return {
|
|
435
443
|
activeStep: activeStep,
|
|
436
444
|
handleNext: handleNext,
|
|
@@ -441,6 +449,44 @@ export var useStepper = function (totalSteps) {
|
|
|
441
449
|
isLastStep: activeStep === totalSteps - 1,
|
|
442
450
|
isProccesing: isProccesing,
|
|
443
451
|
setIsProccesing: setIsProccesing,
|
|
452
|
+
goto: goto
|
|
453
|
+
};
|
|
454
|
+
};
|
|
455
|
+
export var useSteps = function (totalSteps) {
|
|
456
|
+
var _a = useState(0), activeStep = _a[0], setActiveStep = _a[1];
|
|
457
|
+
var _b = useState(false), isProcessing = _b[0], setIsProcessing = _b[1];
|
|
458
|
+
var handleNext = function () {
|
|
459
|
+
if (activeStep < totalSteps - 1) {
|
|
460
|
+
setActiveStep(function (prev) { return prev + 1; });
|
|
461
|
+
}
|
|
462
|
+
};
|
|
463
|
+
var handleBack = function () {
|
|
464
|
+
if (activeStep > 0) {
|
|
465
|
+
setActiveStep(function (prev) { return prev - 1; });
|
|
466
|
+
}
|
|
467
|
+
};
|
|
468
|
+
var handleReset = function () {
|
|
469
|
+
setActiveStep(0);
|
|
470
|
+
};
|
|
471
|
+
var goto = function (step) {
|
|
472
|
+
if (step >= 0 && step < totalSteps) {
|
|
473
|
+
setActiveStep(step);
|
|
474
|
+
}
|
|
475
|
+
else {
|
|
476
|
+
console.warn("Step ".concat(step, " is out of bounds (0-").concat(totalSteps - 1, ")"));
|
|
477
|
+
}
|
|
478
|
+
};
|
|
479
|
+
return {
|
|
480
|
+
activeStep: activeStep,
|
|
481
|
+
handleNext: handleNext,
|
|
482
|
+
handleBack: handleBack,
|
|
483
|
+
handleReset: handleReset,
|
|
484
|
+
goto: goto,
|
|
485
|
+
totalSteps: totalSteps,
|
|
486
|
+
isFirstStep: activeStep === 0,
|
|
487
|
+
isLastStep: activeStep === totalSteps - 1,
|
|
488
|
+
isProcessing: isProcessing,
|
|
489
|
+
setIsProcessing: setIsProcessing,
|
|
444
490
|
};
|
|
445
491
|
};
|
|
446
492
|
export function useTimeoutFn(callback, delay) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-hook-toolkit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.16",
|
|
4
4
|
"description": "Ultimate package for React developers, offering a powerful collection of hooks and components to enhance their development experience.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
export interface DrawerContextValue {
|
|
3
|
-
drawerOpen: boolean;
|
|
4
|
-
openDrawer: () => void;
|
|
5
|
-
closeDrawer: () => void;
|
|
6
|
-
openDrawerInButton: () => void;
|
|
7
|
-
closeDrawerInButton: () => void;
|
|
8
|
-
currentMainMenu?: string;
|
|
9
|
-
setCurrentMainMenu?: (value: string) => void;
|
|
10
|
-
}
|
|
11
|
-
interface DrawerProviderProps {
|
|
12
|
-
children: ReactNode;
|
|
13
|
-
}
|
|
14
|
-
declare const DrawerContext: import("react").Context<DrawerContextValue>;
|
|
15
|
-
export declare const DrawerProvider: FC<DrawerProviderProps>;
|
|
16
|
-
export default DrawerContext;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { createContext, useState } from 'react';
|
|
3
|
-
import PropTypes from 'prop-types';
|
|
4
|
-
var DrawerContext = createContext({
|
|
5
|
-
drawerOpen: false,
|
|
6
|
-
openDrawer: function () { },
|
|
7
|
-
closeDrawer: function () { },
|
|
8
|
-
openDrawerInButton: function () { },
|
|
9
|
-
closeDrawerInButton: function () { },
|
|
10
|
-
currentMainMenu: '',
|
|
11
|
-
setCurrentMainMenu: function () { }
|
|
12
|
-
});
|
|
13
|
-
export var DrawerProvider = function (_a) {
|
|
14
|
-
var children = _a.children;
|
|
15
|
-
var _b = useState(true), drawerOpen = _b[0], setDrawer = _b[1];
|
|
16
|
-
var _c = useState(''), currentMainMenu = _c[0], setCurrOpenMenu = _c[1];
|
|
17
|
-
var openDrawer = function () { return setDrawer(true); };
|
|
18
|
-
var closeDrawer = function () { return setDrawer(false); };
|
|
19
|
-
var openDrawerInButton = function () { return setDrawer(false); };
|
|
20
|
-
var closeDrawerInButton = function () { return setDrawer(true); };
|
|
21
|
-
var setCurrentMainMenu = function (value) { return setCurrOpenMenu(value); };
|
|
22
|
-
return (_jsx(DrawerContext.Provider, { value: {
|
|
23
|
-
drawerOpen: drawerOpen,
|
|
24
|
-
openDrawer: openDrawer,
|
|
25
|
-
closeDrawer: closeDrawer,
|
|
26
|
-
openDrawerInButton: openDrawerInButton,
|
|
27
|
-
closeDrawerInButton: closeDrawerInButton,
|
|
28
|
-
currentMainMenu: currentMainMenu,
|
|
29
|
-
setCurrentMainMenu: setCurrentMainMenu
|
|
30
|
-
}, children: children }));
|
|
31
|
-
};
|
|
32
|
-
DrawerProvider.propTypes = {
|
|
33
|
-
children: PropTypes.node.isRequired
|
|
34
|
-
};
|
|
35
|
-
export default DrawerContext;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license HEXE
|
|
3
|
-
* Copyright (c) 2020-2024 Shivaji & Collaborators
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
type HookFunction = () => any;
|
|
9
|
-
declare class HEXE {
|
|
10
|
-
private hs;
|
|
11
|
-
private ss;
|
|
12
|
-
constructor();
|
|
13
|
-
setHook(name: string, hookFunction: HookFunction): this;
|
|
14
|
-
private putHooks;
|
|
15
|
-
component(): React.FC;
|
|
16
|
-
getHook(name: string): any;
|
|
17
|
-
}
|
|
18
|
-
declare const ReactHooksWrapper: React.FC<{}>;
|
|
19
|
-
declare const getHook: (name: string) => any, setHook: (name: string, hookFunction: HookFunction) => HEXE;
|
|
20
|
-
export { ReactHooksWrapper, getHook, setHook };
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license HEXE
|
|
3
|
-
* Copyright (c) 2020-2024 Shivaji & Collaborators
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
var HEXE = /** @class */ (function () {
|
|
9
|
-
function HEXE() {
|
|
10
|
-
this.hs = {};
|
|
11
|
-
this.ss = {};
|
|
12
|
-
this.setHook = this.setHook.bind(this);
|
|
13
|
-
this.getHook = this.getHook.bind(this);
|
|
14
|
-
this.putHooks = this.putHooks.bind(this);
|
|
15
|
-
}
|
|
16
|
-
HEXE.prototype.setHook = function (name, hookFunction) {
|
|
17
|
-
[
|
|
18
|
-
{ value: name, id: 'name', type: 'string' },
|
|
19
|
-
{ value: hookFunction, id: 'hook', type: 'function' },
|
|
20
|
-
].forEach(function (_a) {
|
|
21
|
-
var value = _a.value, id = _a.id, type = _a.type;
|
|
22
|
-
if (type === 'string' && typeof value !== 'string') {
|
|
23
|
-
throw new TypeError("\"".concat(id, "\" expected to be of type ").concat(type));
|
|
24
|
-
}
|
|
25
|
-
if (type === 'function' && typeof value !== 'function') {
|
|
26
|
-
throw new TypeError("\"".concat(id, "\" expected to be of type ").concat(type));
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
this.hs[name] = {
|
|
30
|
-
name: name,
|
|
31
|
-
hook: hookFunction,
|
|
32
|
-
};
|
|
33
|
-
return this;
|
|
34
|
-
};
|
|
35
|
-
HEXE.prototype.putHooks = function (name, value) {
|
|
36
|
-
this.ss[name] = value;
|
|
37
|
-
};
|
|
38
|
-
HEXE.prototype.component = function () {
|
|
39
|
-
var _this = this;
|
|
40
|
-
/* Author: Shivaji & Shyamal */
|
|
41
|
-
var Component = function () {
|
|
42
|
-
Object.values(_this.hs).forEach(function (_a) {
|
|
43
|
-
var name = _a.name, hook = _a.hook;
|
|
44
|
-
_this.putHooks(name, hook());
|
|
45
|
-
});
|
|
46
|
-
return /*#__PURE__*/ React.createElement(React.Fragment, null);
|
|
47
|
-
};
|
|
48
|
-
return Component;
|
|
49
|
-
};
|
|
50
|
-
HEXE.prototype.getHook = function (name) {
|
|
51
|
-
return this.ss[name];
|
|
52
|
-
};
|
|
53
|
-
return HEXE;
|
|
54
|
-
}());
|
|
55
|
-
var o = new HEXE();
|
|
56
|
-
var ReactHooksWrapper = o.component();
|
|
57
|
-
var getHook = o.getHook, setHook = o.setHook;
|
|
58
|
-
export { ReactHooksWrapper, getHook, setHook };
|
package/dist/hooks/hooks.d.ts
DELETED
|
@@ -1,195 +0,0 @@
|
|
|
1
|
-
import { RefObject } from 'react';
|
|
2
|
-
import { AxiosRequestConfig } from 'axios';
|
|
3
|
-
interface UseAxiosResponse<T> {
|
|
4
|
-
data: T | null;
|
|
5
|
-
loading: boolean;
|
|
6
|
-
error: string | null;
|
|
7
|
-
makeRequest: (url: string, method?: string, requestData?: any) => void;
|
|
8
|
-
cancelRequest: () => void;
|
|
9
|
-
}
|
|
10
|
-
interface UseAxiosConfig extends AxiosRequestConfig {
|
|
11
|
-
baseURL?: string;
|
|
12
|
-
headers?: {
|
|
13
|
-
[key: string]: string;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
export declare const useAxios: <T>(config?: UseAxiosConfig) => UseAxiosResponse<T>;
|
|
17
|
-
export declare const useDrawer: () => import("../contexts/DrowerContexts").DrawerContextValue;
|
|
18
|
-
export declare const useAdvReducer: <State, Action extends {
|
|
19
|
-
type: string;
|
|
20
|
-
}>(initialState: State, actions: Record<string, (state: State, action: Action) => State>) => (state: State | undefined, action: Action) => State;
|
|
21
|
-
interface FetchState<T> {
|
|
22
|
-
data: T | null;
|
|
23
|
-
loading: boolean;
|
|
24
|
-
error: string | null;
|
|
25
|
-
}
|
|
26
|
-
export declare function useFetch<T>(url: string): FetchState<T>;
|
|
27
|
-
export declare function useLocalStorage<T>(key: string, initialValue: T): [T, (value: T) => void];
|
|
28
|
-
export declare function useToggle(initialValue?: boolean): [boolean, () => void];
|
|
29
|
-
export declare function useDebounce<T>(value: T, delay: number): T;
|
|
30
|
-
export declare function useThrottle<T>(value: T, limit: number): T;
|
|
31
|
-
export declare function usePrevious<T>(value: T): T | undefined;
|
|
32
|
-
export declare function useMediaQuery(query: string): boolean;
|
|
33
|
-
export declare function useClipboard(): [boolean, (text: string) => Promise<void>];
|
|
34
|
-
export declare function useInterval(callback: () => void, delay: number | null): void;
|
|
35
|
-
interface WindowSize {
|
|
36
|
-
width: number;
|
|
37
|
-
height: number;
|
|
38
|
-
}
|
|
39
|
-
export declare function useWindowSize(): WindowSize;
|
|
40
|
-
export declare function useKeyPress(targetKey: string): boolean;
|
|
41
|
-
export declare function useOnlineStatus(): boolean;
|
|
42
|
-
interface ScrollPosition {
|
|
43
|
-
x: number;
|
|
44
|
-
y: number;
|
|
45
|
-
}
|
|
46
|
-
export declare function useScrollPosition(): ScrollPosition;
|
|
47
|
-
export declare function useTimeout(callback: () => void, delay: number | null): void;
|
|
48
|
-
export declare function useDarkMode(): [boolean, () => void];
|
|
49
|
-
export declare function useForm<T extends Record<string, any>>(initialValues: T): {
|
|
50
|
-
values: T;
|
|
51
|
-
errors: Partial<Record<keyof T, string>>;
|
|
52
|
-
handleChange: (name: keyof T, value: any) => void;
|
|
53
|
-
validate: (validators: Partial<Record<keyof T, (value: any) => string | null>>) => boolean;
|
|
54
|
-
};
|
|
55
|
-
export declare function useArray<T>(initialArray: T[]): {
|
|
56
|
-
array: T[];
|
|
57
|
-
set: import("react").Dispatch<import("react").SetStateAction<T[]>>;
|
|
58
|
-
push: (item: T) => void;
|
|
59
|
-
removeByIndex: (index: number) => void;
|
|
60
|
-
clear: () => void;
|
|
61
|
-
};
|
|
62
|
-
export declare const useStepper: (totalSteps: number) => {
|
|
63
|
-
activeStep: number;
|
|
64
|
-
handleNext: () => void;
|
|
65
|
-
handleBack: () => void;
|
|
66
|
-
handleReset: () => void;
|
|
67
|
-
totalSteps: number;
|
|
68
|
-
isFirstStep: boolean;
|
|
69
|
-
isLastStep: boolean;
|
|
70
|
-
isProccesing: boolean;
|
|
71
|
-
setIsProccesing: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
72
|
-
};
|
|
73
|
-
export declare function useTimeoutFn(callback: () => void, delay: number | null): {
|
|
74
|
-
reset: () => void;
|
|
75
|
-
clear: () => void;
|
|
76
|
-
};
|
|
77
|
-
export declare function useDebouncedCallback(callback: () => void, delay: number): () => void;
|
|
78
|
-
export declare function useScrollLock(lock: boolean): void;
|
|
79
|
-
export declare function useResizeObserver<T extends HTMLElement>(ref: RefObject<T>): WindowSize | null;
|
|
80
|
-
interface MousePosition {
|
|
81
|
-
x: number;
|
|
82
|
-
y: number;
|
|
83
|
-
}
|
|
84
|
-
export declare function useMousePosition(): MousePosition;
|
|
85
|
-
type ScrollDirection = 'up' | 'down';
|
|
86
|
-
export declare function useScrollDirection(): ScrollDirection;
|
|
87
|
-
export declare function useImageLoader(src: string): {
|
|
88
|
-
loaded: boolean;
|
|
89
|
-
error: boolean;
|
|
90
|
-
};
|
|
91
|
-
export declare function usePersistedState<T>(key: string, initialValue: T): [T, React.Dispatch<React.SetStateAction<T>>];
|
|
92
|
-
export declare function useReducedMotion(): boolean;
|
|
93
|
-
export declare function useCookie(key: string): [string | null, (value: string, options?: any) => void, () => void];
|
|
94
|
-
export declare function useFetchRetry<T>(url: string, options: RequestInit, retries?: number): {
|
|
95
|
-
data: T | null;
|
|
96
|
-
error: string | null;
|
|
97
|
-
loading: boolean;
|
|
98
|
-
};
|
|
99
|
-
export declare function useDelay<T>(value: T, delay: number): T;
|
|
100
|
-
export declare function useVisibilityChange(): boolean;
|
|
101
|
-
export declare function useDebouncedValue<T>(value: T, delay: number): T;
|
|
102
|
-
export type Status = 'idle' | 'pending' | 'success' | 'error';
|
|
103
|
-
export type AsyncFunction<T> = () => Promise<T>;
|
|
104
|
-
export interface UseAsyncReturn<T> {
|
|
105
|
-
execute: () => void;
|
|
106
|
-
status: Status;
|
|
107
|
-
value: T | null;
|
|
108
|
-
error: Error | null;
|
|
109
|
-
}
|
|
110
|
-
export declare function useAsync<T>(asyncFunction: AsyncFunction<T>, immediate?: boolean): UseAsyncReturn<T>;
|
|
111
|
-
export type ScriptStatus = 'loading' | 'ready' | 'error' | 'unknown';
|
|
112
|
-
export declare function useScript(src: string, removeOnUnmount?: boolean): ScriptStatus;
|
|
113
|
-
export declare function useIndexedDB<T>(dbName: string, storeName: string): {
|
|
114
|
-
data: T | null;
|
|
115
|
-
error: Error | null;
|
|
116
|
-
};
|
|
117
|
-
export declare function useGeoLocation(): {
|
|
118
|
-
position: GeolocationPosition | null;
|
|
119
|
-
error: Error | null;
|
|
120
|
-
};
|
|
121
|
-
export declare function useTimer(initialTime: number): {
|
|
122
|
-
time: number;
|
|
123
|
-
error: Error | null;
|
|
124
|
-
};
|
|
125
|
-
export declare function useIsMounted(): boolean;
|
|
126
|
-
export declare function useCss(css: string): {
|
|
127
|
-
error: Error | null;
|
|
128
|
-
};
|
|
129
|
-
export declare function useSpeak(text: string): {
|
|
130
|
-
speak: () => void;
|
|
131
|
-
error: Error | null;
|
|
132
|
-
};
|
|
133
|
-
export declare function useCountUp(target: number, duration: number): {
|
|
134
|
-
count: number;
|
|
135
|
-
error: Error | null;
|
|
136
|
-
};
|
|
137
|
-
export declare function useCountDown(start: number): {
|
|
138
|
-
count: number;
|
|
139
|
-
error: Error | null;
|
|
140
|
-
};
|
|
141
|
-
interface BatteryState {
|
|
142
|
-
supported: boolean;
|
|
143
|
-
loading: boolean;
|
|
144
|
-
level: number | null;
|
|
145
|
-
charging: boolean | null;
|
|
146
|
-
chargingTime: number | null;
|
|
147
|
-
dischargingTime: number | null;
|
|
148
|
-
}
|
|
149
|
-
export declare const useBattery: () => BatteryState;
|
|
150
|
-
export declare const useEventListener: (eventName: string, handler: (event: Event) => void, elementRef?: React.RefObject<HTMLElement>, options?: boolean | AddEventListenerOptions) => void;
|
|
151
|
-
interface HistoryState {
|
|
152
|
-
[key: string]: any;
|
|
153
|
-
}
|
|
154
|
-
interface UseHistory {
|
|
155
|
-
history: History;
|
|
156
|
-
state: HistoryState | null;
|
|
157
|
-
push: (path: string, state?: HistoryState) => void;
|
|
158
|
-
replace: (path: string, state?: HistoryState) => void;
|
|
159
|
-
goBack: () => void;
|
|
160
|
-
goForward: () => void;
|
|
161
|
-
}
|
|
162
|
-
export declare const useHistory: () => UseHistory;
|
|
163
|
-
interface UsePreferredLanguage {
|
|
164
|
-
language: string;
|
|
165
|
-
languages: Array<string>;
|
|
166
|
-
isSupported: boolean;
|
|
167
|
-
}
|
|
168
|
-
export declare const usePreferredLanguage: () => UsePreferredLanguage;
|
|
169
|
-
interface UseSessionStorage<T> {
|
|
170
|
-
(key: string, initialValue: T): [T, (value: T) => void];
|
|
171
|
-
}
|
|
172
|
-
export declare const useSessionStorage: UseSessionStorage<any>;
|
|
173
|
-
interface UseSound {
|
|
174
|
-
play: () => void;
|
|
175
|
-
pause: () => void;
|
|
176
|
-
stop: () => void;
|
|
177
|
-
setVolume: (volume: number) => void;
|
|
178
|
-
isPlaying: boolean;
|
|
179
|
-
error: Error | null;
|
|
180
|
-
}
|
|
181
|
-
export declare const useSound: (url: string) => UseSound;
|
|
182
|
-
interface TouchPosition {
|
|
183
|
-
x: number | null;
|
|
184
|
-
y: number | null;
|
|
185
|
-
}
|
|
186
|
-
interface UseTouch {
|
|
187
|
-
(elementRef: React.RefObject<HTMLElement>): {
|
|
188
|
-
touchStart: TouchPosition;
|
|
189
|
-
touchMove: TouchPosition;
|
|
190
|
-
touchEnd: TouchPosition;
|
|
191
|
-
};
|
|
192
|
-
}
|
|
193
|
-
export declare const useTouch: UseTouch;
|
|
194
|
-
export declare const useUpdateEffect: (effect: React.EffectCallback, deps: React.DependencyList) => void;
|
|
195
|
-
export {};
|