🚧 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",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"react": "^16.5.2",
|
||||
"react-dom": "^16.5.2",
|
||||
"react": "^16.8",
|
||||
"react-dom": "^16.8",
|
||||
"react-scripts": "2.0.4",
|
||||
"@freesewing/core": "alpha",
|
||||
"@freesewing/plugin-bust": "alpha",
|
||||
|
|
|
@ -10,9 +10,11 @@ import Pattern from "pattern";
|
|||
|
||||
class App extends Component {
|
||||
render() {
|
||||
console.log(freesewing);
|
||||
console.log({ Pattern });
|
||||
return <Workbench />;
|
||||
let instance = new Pattern();
|
||||
let config = instance.config;
|
||||
return (
|
||||
<Workbench freesewing={freesewing} Pattern={Pattern} config={config} />
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue