output-view-control

1.0.0 • Public • Published

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();

Readme

Keywords

none

Package Sidebar

Install

npm i output-view-control

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

514 kB

Total Files

9

Last publish

Collaborators

  • billcxx