@deframe-sdk/components 0.1.76 → 0.1.77

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
@@ -1923,7 +1923,7 @@ interface SwapHistoryItem {
1923
1923
  }
1924
1924
 
1925
1925
  type SwapHistoryViewSimpleProps = Omit<SwapHistoryViewProps, 'onItemClick' | 'pageSize'> & {
1926
- onClose: () => void;
1926
+ onClose?: () => void;
1927
1927
  };
1928
1928
  declare const SwapHistoryViewSimple: React__default.FC<SwapHistoryViewSimpleProps>;
1929
1929
 
package/dist/index.d.ts CHANGED
@@ -1923,7 +1923,7 @@ interface SwapHistoryItem {
1923
1923
  }
1924
1924
 
1925
1925
  type SwapHistoryViewSimpleProps = Omit<SwapHistoryViewProps, 'onItemClick' | 'pageSize'> & {
1926
- onClose: () => void;
1926
+ onClose?: () => void;
1927
1927
  };
1928
1928
  declare const SwapHistoryViewSimple: React__default.FC<SwapHistoryViewSimpleProps>;
1929
1929
 
package/dist/index.js CHANGED
@@ -10339,7 +10339,8 @@ var SwapHistoryViewSimple = ({
10339
10339
  labels,
10340
10340
  isLoading,
10341
10341
  items,
10342
- onClose,
10342
+ onClose = () => {
10343
+ },
10343
10344
  className
10344
10345
  }) => {
10345
10346
  const [query, setQuery] = React6.useState("");