@chekinapp/ui 0.0.104 → 0.0.105
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/dist/index.cjs +52 -31
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +126 -105
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -3273,7 +3273,7 @@ type UseLoadMoreParams = {
|
|
|
3273
3273
|
threshold?: number;
|
|
3274
3274
|
rootMargin?: string;
|
|
3275
3275
|
};
|
|
3276
|
-
declare function useLoadMore<T extends HTMLElement = HTMLDivElement>({ hasNextPage, loading, disabled, onLoadMore, threshold, rootMargin, }: UseLoadMoreParams): readonly [
|
|
3276
|
+
declare function useLoadMore<T extends HTMLElement = HTMLDivElement>({ hasNextPage, loading, disabled, onLoadMore, threshold, rootMargin, }: UseLoadMoreParams): readonly [(element: T | null) => void];
|
|
3277
3277
|
|
|
3278
3278
|
declare function useModalControls(initState?: boolean, { disabled }?: {
|
|
3279
3279
|
disabled?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -3273,7 +3273,7 @@ type UseLoadMoreParams = {
|
|
|
3273
3273
|
threshold?: number;
|
|
3274
3274
|
rootMargin?: string;
|
|
3275
3275
|
};
|
|
3276
|
-
declare function useLoadMore<T extends HTMLElement = HTMLDivElement>({ hasNextPage, loading, disabled, onLoadMore, threshold, rootMargin, }: UseLoadMoreParams): readonly [
|
|
3276
|
+
declare function useLoadMore<T extends HTMLElement = HTMLDivElement>({ hasNextPage, loading, disabled, onLoadMore, threshold, rootMargin, }: UseLoadMoreParams): readonly [(element: T | null) => void];
|
|
3277
3277
|
|
|
3278
3278
|
declare function useModalControls(initState?: boolean, { disabled }?: {
|
|
3279
3279
|
disabled?: boolean;
|