zs_library 0.4.23 → 0.4.24

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.
@@ -18,11 +18,13 @@ export interface SortableConfig<D, C> {
18
18
  /**
19
19
  * 自定义分页点容器
20
20
  */
21
- pagingDotsBuilder?: (dots: React.ReactNode) => React.JSX.Element;
22
- /**
21
+ pagingDotsBuilder?: (dots: React.ReactNode) => React.JSX.Element; /**
23
22
  * 自定义分页点
23
+ * @param item 分页项数据
24
+ * @param index 分页项索引
25
+ * @param isActive 是否为当前选中页
24
26
  */
25
- pagingDotBuilder?: (item: SortItem<D, C>, index: number) => React.JSX.Element;
27
+ pagingDotBuilder?: (item: SortItem<D, C>, index: number, isActive: boolean) => React.JSX.Element;
26
28
  /**
27
29
  * 自定义 item 渲染
28
30
  */