Skip to content

Commit 4b8c2aa

Browse files
author
nobo
committed
Modified .gitignore
Modified package-lock.json Modified package.json Modified src/index.js Add demo/index.js Add scripts/build.js Add scripts/server.js Add scripts/start.js Add src/DesignPanel.js Add src/FormDesignContext.js Add src/Layout.js Add src/PropertyPanel.js Add src/WidgetsPanel.js Add src/store/FieldItem.js Add src/store/actions.js Add src/store/index - 副本.js Add src/store/index.js Add src/store/reducers.js Add src/style/_variables.scss Add src/style/images/bg.png Add src/style/index.js Add src/style/index.scss Add src/widgets/WidgetDropItem.js Add src/widgets/WidgetItem.js Add src/widgets/index.js
1 parent 0146b89 commit 4b8c2aa

25 files changed

+4321
-127
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
/node_modules
2+
/dist

demo/index.js

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import React from 'react';
2+
import ReactDOM from 'react-dom';
3+
4+
import FormDesign from '../src';
5+
6+
import '../src/style';
7+
8+
function App() {
9+
10+
return (
11+
<div style={{
12+
margin: "30px auto",
13+
border: '1px solid #ececec',
14+
width: 1400,
15+
height: 500
16+
}}>
17+
<FormDesign />
18+
</div>
19+
);
20+
}
21+
22+
ReactDOM.render(<App />, document.getElementById('root'))

0 commit comments

Comments
 (0)