1
0
Fork 0

🚧 CFP React update

This commit is contained in:
Joost De Cock 2019-05-03 14:10:11 +02:00
parent 83796818b2
commit 444ff667d6
2 changed files with 7 additions and 5 deletions

View file

@ -4,8 +4,8 @@
"version": "0.0.0", "version": "0.0.0",
"private": true, "private": true,
"dependencies": { "dependencies": {
"react": "^16.5.2", "react": "^16.8",
"react-dom": "^16.5.2", "react-dom": "^16.8",
"react-scripts": "2.0.4", "react-scripts": "2.0.4",
"@freesewing/core": "alpha", "@freesewing/core": "alpha",
"@freesewing/plugin-bust": "alpha", "@freesewing/plugin-bust": "alpha",

View file

@ -10,9 +10,11 @@ import Pattern from "pattern";
class App extends Component { class App extends Component {
render() { render() {
console.log(freesewing); let instance = new Pattern();
console.log({ Pattern }); let config = instance.config;
return <Workbench />; return (
<Workbench freesewing={freesewing} Pattern={Pattern} config={config} />
);
} }
} }