Open lpatiny opened 1 month ago
I would like to be able to drag / drop a file / folder, to convert using nmr-load-save and set the initial state of NMRium.
So after drag / drop we should have a code similar to:
read(fileCollection)) .then((state) => { setNmriumBaseState(state.nmriumState.data); })
This new page could go in the debug menu
@lpatiny
We similar example which slightly different but it serves the same purpose Ref API which uses the nmriumRef.current?.loadFiles which at the end calls the read function from nmr-load-save.
Ref API
nmriumRef.current?.loadFiles
read
I would like to be able to drag / drop a file / folder, to convert using nmr-load-save and set the initial state of NMRium.
So after drag / drop we should have a code similar to:
This new page could go in the debug menu