1.5.0 • Published 4 years ago
input-form-structure v1.5.0
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();- You can control the title name by "title" props
- Use
getSelectSourceTypeto get the selected source type - Use the prop
handleSourceTypeChangedto let parent component get the source type value.