6pp
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -0,14 +1,7 @@ | ||
import { PaginationButtonType } from "./src/types"; | ||
import PaginationComponentWithCount from "./src/components/PaginationWithCount"; | ||
import { useFetchData } from "./src/hooks/useFetchData"; | ||
declare module "6pp" { | ||
export const useFetchData: <T>( | ||
url: string, | ||
key: string, | ||
dependencyProps?: (string | number | boolean)[] | ||
) => { | ||
data: T | null; | ||
loading: boolean; | ||
error: string; | ||
refetch: () => void; | ||
clearCache: () => void; | ||
}; | ||
// Add more exports as needed | ||
export { PaginationButtonType, PaginationComponentWithCount, useFetchData }; | ||
} |
{ | ||
"name": "6pp", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./dist/bundle.js", |
export * from "./hooks/useFetchData"; | ||
export * from "./components/PaginationWithCount"; |
19117
13
210