@ant-design/pro-components 2.8.9 → 2.8.10

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/api.json CHANGED
@@ -128,8 +128,8 @@
128
128
  },
129
129
  {
130
130
  "参数": "collapsible",
131
- "说明": "配置是否可折叠,受控时无效",
132
- "类型": "`boolean`",
131
+ "说明": "配置是否可折叠或者指定可折叠触发的区域",
132
+ "类型": "`icon | header | boolean`,当值为`true`时默认触发区域为`header`",
133
133
  "默认值": "false"
134
134
  },
135
135
  {
@@ -1205,6 +1205,12 @@
1205
1205
  "说明": "最大上传数量,超过最大数量就会隐藏上传按钮",
1206
1206
  "类型": "`number`",
1207
1207
  "默认值": "-"
1208
+ },
1209
+ {
1210
+ "参数": "imageProps",
1211
+ "说明": "预览 [Image](https://ant-design.antgroup.com/components/image-cn#image) 组件的额外配置,可以自定义预览行为、工具栏以及其他 Image 组件的属性。",
1212
+ "类型": "`ImageProps`",
1213
+ "默认值": "-"
1208
1214
  }
1209
1215
  ]
1210
1216
  },
@@ -1572,6 +1578,24 @@
1572
1578
  "说明": "删除数据后的钩子",
1573
1579
  "类型": "`(index: number, count: number) => void`",
1574
1580
  "默认值": "-"
1581
+ },
1582
+ {
1583
+ "参数": "arrowSort",
1584
+ "说明": "是否开启箭头按钮排序",
1585
+ "类型": "`boolean`",
1586
+ "默认值": "-"
1587
+ },
1588
+ {
1589
+ "参数": "upIconProps",
1590
+ "说明": "向上排序按钮的配置,false 可以取消",
1591
+ "类型": "`{ Icon?: React.FC<any>; tooltipText?: string; } | false`",
1592
+ "默认值": "-"
1593
+ },
1594
+ {
1595
+ "参数": "downIconProps",
1596
+ "说明": "向下排序按钮的配置,false 可以取消",
1597
+ "类型": "`{ Icon?: React.FC<any>; tooltipText?: string; } | false`",
1598
+ "默认值": "-"
1575
1599
  }
1576
1600
  ]
1577
1601
  }