@4399ywkf/design 1.3.7 → 1.3.8

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.
@@ -52,7 +52,8 @@ var WaterfallVirtual = function WaterfallVirtual(props) {
52
52
  _props$overscan = props.overscan,
53
53
  overscan = _props$overscan === void 0 ? 0 : _props$overscan,
54
54
  _props$atBottomThresh = props.atBottomThreshold,
55
- atBottomThreshold = _props$atBottomThresh === void 0 ? 100 : _props$atBottomThresh;
55
+ atBottomThreshold = _props$atBottomThresh === void 0 ? 100 : _props$atBottomThresh,
56
+ components = props.components;
56
57
 
57
58
  // 状态管理
58
59
  var _useState = useState(column),
@@ -615,6 +616,6 @@ var WaterfallVirtual = function WaterfallVirtual(props) {
615
616
  style: listStyle
616
617
  }, renderList.map(function (item) {
617
618
  return renderItem(item, getItemRenderProps(item), changeQueueDataHeight);
618
- })));
619
+ })), components === null || components === void 0 ? void 0 : components.Footer);
619
620
  };
620
621
  export default /*#__PURE__*/React.memo(WaterfallVirtual);
@@ -26,6 +26,9 @@ export interface IVirtualWaterFallProps {
26
26
  };
27
27
  atBottomThreshold?: number;
28
28
  atTopThreshold?: number;
29
+ components?: {
30
+ Footer?: React.ReactNode;
31
+ };
29
32
  }
30
33
  export interface IItemRenderProps {
31
34
  key: string | number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@4399ywkf/design",
3
- "version": "1.3.7",
3
+ "version": "1.3.8",
4
4
  "description": "4399ywkf Design React UI Library.",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",