@jiaozhiye/qm-design-react 1.7.21 → 1.7.23
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/lib/form/src/types.d.ts +2 -0
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/form/src/types.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
+
import type { UploadProps } from '../../antd';
|
|
3
4
|
import type { BuildInPlacements } from 'rc-trigger';
|
|
4
5
|
import type { IFetch, IColumn, IRowKey } from '../../table/src/table/types';
|
|
5
6
|
import type { CSSProperties, ComponentSize, JSXElement, ValueOf, AjaxResponse, IDict, IAuth } from '../../_utils/types';
|
|
@@ -231,6 +232,7 @@ export type IFormItem = {
|
|
|
231
232
|
withCredentials?: boolean;
|
|
232
233
|
params?: IFetchParams;
|
|
233
234
|
dataKey?: string;
|
|
235
|
+
beforeUpload?: UploadProps['beforeUpload'];
|
|
234
236
|
button?: {
|
|
235
237
|
text?: string;
|
|
236
238
|
icon?: React.ReactNode;
|