NFDI4Chem / nmrium-react-wrapper

A wrapper around NMRium react component to enable seamless integration into third-party applications built on any modern framework.
https://nmrium.nmrxiv.org
MIT License
9 stars 2 forks source link

Ability to overwrite default text in the viewer #125

Closed CS76 closed 1 year ago

CS76 commented 1 year ago

Repositories like nmrxiv and Chemotion should be able to overwrite the "Drag and drop here a JCAMP-DX, Bruker folder, JOEL jdf or nmrium file." default text with more relevant information (as per resource requirements). The current default message is misleading the users, especially when the viewing spectra in a read only views

hamed-musallam commented 1 year ago

@CS76

We have the ability to customize the default message, Which name do you think is better to represent our need: defaultMessage, defaultEmptyMessage, or simply message?

https://nmriumdev.nmrxiv.org/?defaultEmptyMessage=< your message >

CS76 commented 1 year ago

defaultEmptyMessage to make it more descriptive ??