cheminfo / cheminfo/nmrium

New property: emptyComponent

Open
#2,578 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
80
Forks
34
Avg merge
2d 9h
Merged PRs (30d)
36

Description

Currently, we can define an 'emptyText' component that will be centred in NMRium if no spectrum is displayed. However, this still assumes that we can 'drag / drop' some data and therefore the layout shows the dashed line with the text in the middle.

In the case of simulation or prediction, I would prefer to have a fully customizable component that will also replace the dashed lines. This would allow me to create a user guide for the simulation and prediction pages.

![image](https://github.com/cheminfo/nmrium/assets/1484241/7aacddc4-2882-4f7e-98d1-ec2ddaf4b9aa)

@targos is this ok to add this new property `emptyComponent` ?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.