@complat/react-spectra-editor
v1.3.4
Published
An editor to View and Edit Chemical Spectra data (NMR, IR, MS, CV, UIVIS, XRD, GC, and DSC).
Downloads
331
Readme
react-spectra-editor
An editor to View and Edit Chemical Spectra data (NMR, IR, MS, UV, CV and XRD).
Usage
Installing from npm
With yarn
$ yarn add @complat/react-spectra-editor
Or with npm
$ npm i @complat/react-spectra-editor
Installing from github source
$ yarn add https://github.com/ComPlat/react-spectra-editor
Allows users manual edit spectra's description
- Set canChangeDescription to be true
- Handle changed value on function onDescriptionChanged. The content is formatted with Delta Object
Running Demo
$ yarn install
$ yarn start
Demo & Manual
Testing
Unit test
$ yarn test
E2E test
$ yarn start
Open another terminal
$ yarn e2e
Acknowledgments
This project has been funded by the DFG.
Funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under the National Research Data Infrastructure – NFDI4Chem – Projektnummer 441958208 since 2020.