diff --git a/package.json b/package.json index 1294989..06e0c68 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,6 @@ "prettier --parser=typescript --write" ] }, - "dependencies": {}, "devDependencies": { "@swc/core": "^1.3.53", "@testing-library/jest-dom": "^5.16.5", @@ -53,7 +52,7 @@ "@types/react-dom": "^18.0.11", "@umijs/fabric": "^2.14.1", "@umijs/test": "^3.5.40", - "antd": "^5.8.4", + "antd": "^5.12.2", "dumi": "^1.1.50", "father": "^4.1.9", "lint-staged": "^10.0.7", diff --git a/src/createImagePreview/demos/basic.tsx b/src/createImagePreview/demos/basic.tsx index 75783ac..266df44 100644 --- a/src/createImagePreview/demos/basic.tsx +++ b/src/createImagePreview/demos/basic.tsx @@ -7,11 +7,14 @@ const Demo: React.FC = () => {