@magicbe/antd-crud 0.0.63 → 0.0.64

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.
@@ -146,20 +146,20 @@ export interface CustomFilterProps {
146
146
  initialValues?: Record<string, any>;
147
147
  }
148
148
  export interface CustomActionGroup {
149
- add?: boolean | React.FC;
150
- del?: boolean | React.FC;
151
- edit?: boolean | React.FC;
149
+ add?: boolean | React.FC<any>;
150
+ del?: boolean | React.FC<any>;
151
+ edit?: boolean | React.FC<any>;
152
152
  }
153
153
  export interface RecordCustomActionGroup extends CustomActionGroup {
154
154
  }
155
155
  export interface MasterCustomActionGroup extends CustomActionGroup {
156
156
  }
157
157
  export interface CustomAction {
158
- master?: boolean | React.FC | (React.FC)[] | MasterCustomActionGroup;
159
- record?: boolean | React.FC | (React.FC)[] | RecordCustomActionGroup;
158
+ master?: boolean | React.FC<any> | (React.FC<any>)[] | MasterCustomActionGroup;
159
+ record?: boolean | React.FC<any> | (React.FC<any>)[] | RecordCustomActionGroup;
160
160
  }
161
161
  /**操作 */
162
- export type Action = boolean | React.FC | React.FC[] | CustomAction;
162
+ export type Action = boolean | React.FC<any> | React.FC<any>[] | CustomAction;
163
163
  export interface DrawerProps {
164
164
  add?: number;
165
165
  edit?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magicbe/antd-crud",
3
- "version": "0.0.63",
3
+ "version": "0.0.64",
4
4
  "description": "antd crud table",
5
5
  "author": "wang quan",
6
6
  "private": false,