@jiaozhiye/qm-design-react 1.7.34 → 2.0.0
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/index.d.ts +62 -0
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/upload-img/src/upload-img.d.ts +2 -3
- package/package.json +1 -1
|
@@ -10,8 +10,7 @@ type IProps = UploadProps & {
|
|
|
10
10
|
};
|
|
11
11
|
type IState = {
|
|
12
12
|
previewVisible: boolean;
|
|
13
|
-
|
|
14
|
-
previewTitle: string;
|
|
13
|
+
currentIndex: number;
|
|
15
14
|
};
|
|
16
15
|
export type UploadImgProps = IProps;
|
|
17
16
|
declare class QmUploadImg extends Component<IProps, IState> {
|
|
@@ -26,7 +25,7 @@ declare class QmUploadImg extends Component<IProps, IState> {
|
|
|
26
25
|
state: IState;
|
|
27
26
|
get showUploadButton(): boolean;
|
|
28
27
|
beforeUpload: (file: any, fileList: any) => Promise<any>;
|
|
29
|
-
handlePreview: (file: any) =>
|
|
28
|
+
handlePreview: (file: any) => void;
|
|
30
29
|
render(): React.JSX.Element;
|
|
31
30
|
}
|
|
32
31
|
export default QmUploadImg;
|