We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9b6980 commit c1a0fa8Copy full SHA for c1a0fa8
1 file changed
index.d.ts
@@ -175,6 +175,11 @@ declare module "@uidotdev/usehooks" {
175
176
export function useList<T>(defaultList?: T[]): [T[], CustomList<T>];
177
178
+ export function useLocalStorage<T>(
179
+ key: string,
180
+ initialValue?: T
181
+ ): [T, React.Dispatch<React.SetStateAction<T>>];
182
+
183
export function useLockBodyScroll(): void;
184
185
export function useLongPress(
0 commit comments