react-crud-mui 0.2.71 → 0.2.73

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
@@ -2280,8 +2280,8 @@ function Zu({
2280
2280
  g,
2281
2281
  s,
2282
2282
  n,
2283
- b,
2284
2283
  d,
2284
+ b,
2285
2285
  /* @__PURE__ */ c(or, { sx: {
2286
2286
  flex: 1,
2287
2287
  position: "relative"
@@ -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
@@ -6976,8 +6976,8 @@ function af({
6976
6976
  f,
6977
6977
  m,
6978
6978
  i,
6979
- b,
6980
6979
  d,
6980
+ b,
6981
6981
  /* @__PURE__ */ $(vn.Scroll, { autoHide: !1, children: [
6982
6982
  o,
6983
6983
  x,
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.73",
5
5
  "type": "module",
6
6
  "main": "./dist/coreui.js",
7
7
  "module": "./dist/coreui.js",