@unifold/ui-react 0.1.56 → 0.1.57

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.
package/dist/index.d.mts CHANGED
@@ -435,12 +435,13 @@ interface ConnectedExchangeInfo {
435
435
  }
436
436
  interface ConnectExchangeButtonProps {
437
437
  onClick: () => void;
438
+ onDisconnect?: () => void;
438
439
  title: string;
439
440
  subtitle: string;
440
441
  exchanges?: ExchangeIconInfo[];
441
442
  connectedExchange?: ConnectedExchangeInfo | null;
442
443
  }
443
- declare function ConnectExchangeButton({ onClick, title, subtitle, exchanges, connectedExchange, }: ConnectExchangeButtonProps): react_jsx_runtime.JSX.Element;
444
+ declare function ConnectExchangeButton({ onClick, onDisconnect, title, subtitle, exchanges, connectedExchange, }: ConnectExchangeButtonProps): react_jsx_runtime.JSX.Element;
444
445
 
445
446
  interface DepositTrackerButtonProps {
446
447
  onClick: () => void;
package/dist/index.d.ts CHANGED
@@ -435,12 +435,13 @@ interface ConnectedExchangeInfo {
435
435
  }
436
436
  interface ConnectExchangeButtonProps {
437
437
  onClick: () => void;
438
+ onDisconnect?: () => void;
438
439
  title: string;
439
440
  subtitle: string;
440
441
  exchanges?: ExchangeIconInfo[];
441
442
  connectedExchange?: ConnectedExchangeInfo | null;
442
443
  }
443
- declare function ConnectExchangeButton({ onClick, title, subtitle, exchanges, connectedExchange, }: ConnectExchangeButtonProps): react_jsx_runtime.JSX.Element;
444
+ declare function ConnectExchangeButton({ onClick, onDisconnect, title, subtitle, exchanges, connectedExchange, }: ConnectExchangeButtonProps): react_jsx_runtime.JSX.Element;
444
445
 
445
446
  interface DepositTrackerButtonProps {
446
447
  onClick: () => void;