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