cheminfo / nmrium

React component to display and process nuclear magnetic resonance (NMR) spectra.
https://docs.nmrium.org
MIT License
55 stars 26 forks source link

Implement drag / drop from ui-components #1402

Open lpatiny opened 2 years ago

lpatiny commented 2 years ago

We are moving towards reusing and creating new components in https://github.com/cheminfo/analysis-ui-components

One of the components is the drag / drop component: https://cheminfo.github.io/analysis-ui-components/?path=/story/layout-dropzone--drop-zone-control

@hamed-musallam Could you try to replace the NMRium drag / drop component with the one from analysis-ui-components ? I guess there may be some missing feature that should be added in the analysis-ui-components project.

hamed-musallam commented 2 years ago

@lpatiny

the component use the same library that I use it in NMRium 'react-dropzone' and once i try to use DropZoneContainer in NMRium we have a problem of styles related to the component from analysis-ui-component image