@mupro/input-form-tensor
v1.2.0
Published
Set the tensor for simulation input
Downloads
1
Readme
Notice
Not sure why arrow function is not working, we just use a normal function
Usage
- Create a hook for to the component, use it outside of the form.
this.dimensionRef = React.createRef();
- Then in the import file function
this.dimensionRef.current.getWrappedInstance().onImport(message.file.input.dimension[0]);
- In the finish function
this.dimensionRef.current.getWrappedInstance().onFinish();