1.3.1 • Published 3 years ago

@mupro/input-form-output v1.3.1

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Notice

Not sure why arrow function is not working, we just use a normal function

Usage

  1. Create a hook for to the component, use it outside of the form.
this.dimensionRef = React.createRef();
  1. Then in the import file function
this.dimensionRef.current.getWrappedInstance().onImport(message.file.input.dimension[0]);
  1. In the finish function
this.dimensionRef.current.getWrappedInstance().onFinish();
  1. You can use "nofrequency" to indicate whether an output frequency input is necessay