🚧 CFP React update
This commit is contained in:
parent
83796818b2
commit
444ff667d6
2 changed files with 7 additions and 5 deletions
|
@ -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",
|
||||||
|
|
|
@ -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} />
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue