diff --git a/example/package.json b/example/package.json index 064e4fd..541c80d 100644 --- a/example/package.json +++ b/example/package.json @@ -20,18 +20,10 @@ ] }, "dependencies": { - "@ant-design/icons": "^4.2.2", - "@antv/x6": "^0.4.8", - "@antv/x6-react-shape": "^0.2.2", - "@emotion/core": "^10.0.28", - "@emotion/styled": "^10.0.27", "@imove/core": "^0.3.0", - "@imove/json-schema-editor": "^0.3.2", "@umijs/preset-react": "1.x", "@umijs/test": "^3.2.2", "antd": "^4.4.3", - "babel-plugin-transform-runtime": "^6.23.0", - "babel-runtime": "^6.26.0", "lint-staged": "^10.0.7", "prettier": "^1.19.1", "react": "^16.13.1", diff --git a/example/src/pages/index.tsx b/example/src/pages/index.tsx index a5842d4..355f93f 100644 --- a/example/src/pages/index.tsx +++ b/example/src/pages/index.tsx @@ -1,20 +1,15 @@ import * as React from 'react'; import IMove from '@imove/core'; -import styled from '@emotion/styled'; const onSave = (data: { nodes: any; edges: any }): void => { console.log(data); }; -const Wrapper = styled.div` - height: 100vh; -`; - function Arrange(): JSX.Element { return ( - +
- +
); }