rc-lib-ui 1.1.21 → 1.1.22

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,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  export interface ButtonActionsProps {
3
- setDisableConnectSocket: () => void;
3
+ setIsDisableConnectSocket: (isDisableConnectSocket: boolean) => void;
4
4
  }
5
5
  export interface ReConnectButtonProps {
6
6
  children: (actions: ButtonActionsProps) => React.ReactNode;
package/dist/socket.js CHANGED
@@ -693,8 +693,8 @@ const rt = (o) => {
693
693
  );
694
694
  }, ut = b.memo(lt), ft = ({ children: o }) => {
695
695
  const t = m(w.getIsDisableConnectSocket);
696
- return /* @__PURE__ */ I(H, { children: t && o({ setDisableConnectSocket: () => {
697
- k.setIsDisableConnectSocket({ isDisableConnectSocket: !1 });
696
+ return /* @__PURE__ */ I(H, { children: t && o({ setIsDisableConnectSocket: (n) => {
697
+ k.setIsDisableConnectSocket({ isDisableConnectSocket: n });
698
698
  } }) });
699
699
  }, St = b.memo(ft), Ct = {
700
700
  ConnectDetection: _,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "rc-lib-ui",
3
3
  "private": false,
4
- "version": "1.1.21",
4
+ "version": "1.1.22",
5
5
  "author": "SinGlEBW",
6
6
  "license": "MIT",
7
7
  "type": "module",