zy-react-library 1.0.34 → 1.0.35

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.
@@ -154,7 +154,7 @@ const FormItemsRenderer = ({
154
154
 
155
155
  case FORM_ITEM_RENDER_ENUM.SELECT:
156
156
  return (
157
- <Select placeholder={placeholder} {...componentProps}>
157
+ <Select placeholder={placeholder} showSearch allowClear {...componentProps}>
158
158
  {(option.items || []).map((item) => {
159
159
  const value = item[itemsFieldKey.valueKey];
160
160
  const label = item[itemsFieldKey.labelKey];
@@ -0,0 +1,6 @@
1
+ import type { AntdIconProps } from "@ant-design/icons/lib/components/AntdIcon";
2
+ import type { FC } from "react";
3
+
4
+ declare const DownloadIcon: FC<AntdIconProps>;
5
+
6
+ export default DownloadIcon;
@@ -0,0 +1,9 @@
1
+ import { DownloadOutlined } from "@ant-design/icons";
2
+
3
+ const DownloadIcon = props => (
4
+ <DownloadOutlined {...props} />
5
+ );
6
+
7
+ DownloadIcon.displayName = "DownloadIcon";
8
+
9
+ export default DownloadIcon;
@@ -1,7 +1,7 @@
1
- import { DownloadOutlined } from "@ant-design/icons";
1
+ import { ExportOutlined } from "@ant-design/icons";
2
2
 
3
3
  const ExportIcon = props => (
4
- <DownloadOutlined {...props} />
4
+ <ExportOutlined {...props} />
5
5
  );
6
6
 
7
7
  ExportIcon.displayName = "ExportIcon";
@@ -1,7 +1,7 @@
1
- import { UploadOutlined } from "@ant-design/icons";
1
+ import { ImportOutlined } from "@ant-design/icons";
2
2
 
3
3
  const ImportIcon = props => (
4
- <UploadOutlined {...props} />
4
+ <ImportOutlined {...props} />
5
5
  );
6
6
 
7
7
  ImportIcon.displayName = "ImportIcon";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "zy-react-library",
3
3
  "private": false,
4
- "version": "1.0.34",
4
+ "version": "1.0.35",
5
5
  "type": "module",
6
6
  "description": "",
7
7
  "author": "LiuJiaNan",