Skip to content

An editor to View and Edit Chemical Spectra data (NMR, IR and MS).

License

Notifications You must be signed in to change notification settings

ComPlat/react-spectra-editor

Repository files navigation

react-spectra-editor

An editor to View and Edit Chemical Spectra data (NMR, IR, MS, UV, CV and XRD).

GitHub package.json version Testing

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

  1. Set canChangeDescription to be true
  2. Handle changed value on function onDescriptionChanged. The content is formatted with Delta Object

Running Demo

$ yarn install

$ yarn start

Demo & Manual

demo & step-by-step manual

Testing

Unit test

$ yarn test

E2E test

$ yarn start

Open another terminal

$ yarn e2e

Acknowledgments

This project has been funded by the DFG.

DFG Logo

Funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under the National Research Data Infrastructure – NFDI4Chem – Projektnummer 441958208 since 2020.