react-crud-mui 0.2.71 → 0.2.72

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.
@@ -1,2 +1,2 @@
1
- declare function useLocalStorage<T>(key: string, defaultValue?: T): readonly [T, (updateValue: T) => void];
1
+ declare function useLocalStorage<T>(key: string, defaultValue?: T): readonly [T, (updateValue: T) => void, import('react').Dispatch<import('react').SetStateAction<T>>];
2
2
  export default useLocalStorage;
package/dist/coreui.js CHANGED
@@ -2650,7 +2650,7 @@ function xw(n, o) {
2650
2650
  }), s = he((f) => {
2651
2651
  a(f), window.localStorage.setItem(n, JSON.stringify(f));
2652
2652
  }, [n]);
2653
- return [i, s];
2653
+ return [i, s, a];
2654
2654
  }
2655
2655
  function vw(n, {
2656
2656
  beforeUnload: o
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-crud-mui",
3
3
  "private": false,
4
- "version": "0.2.71",
4
+ "version": "0.2.72",
5
5
  "type": "module",
6
6
  "main": "./dist/coreui.js",
7
7
  "module": "./dist/coreui.js",