chore: fix ci fail (#41205)

* fix: fix ci fail

* fix: fix ci fail

* update rotationSlider prop
pull/41199/head^2
lijianan 2 years ago committed by GitHub
parent c0d275b4ff
commit c7832505ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,7 +1,7 @@
import React, { useState } from 'react';
import { Upload } from 'antd';
import ImgCrop from 'antd-img-crop';
import type { RcFile, UploadFile, UploadProps } from 'antd/es/upload/interface';
import React, { useState } from 'react';
const App: React.FC = () => {
const [fileList, setFileList] = useState<UploadFile[]>([
@ -33,7 +33,7 @@ const App: React.FC = () => {
};
return (
<ImgCrop rotate>
<ImgCrop rotationSlider>
<Upload
action="https://www.mocky.io/v2/5cc8019d300000980a055e76"
listType="picture-card"

Loading…
Cancel
Save