-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Hey,
First off, I want to say thanks to the devs for this fork of jsme-react; it's great that I am able to use it in React 18! I wanted to use some methods to tweak the properties of the editor, like setMolecularAreaScale and setAtomMolecularAreaFontSize. Currently, only the width and height can be passed in as props but it would be nice to have these two as well.
Other properties can be found in the API reference here. The API linked is for the Java version of the applet, but I believe JSME's methods follow the same method signatures. I understand there are a lot of methods here, so maybe there's a way to dynamically pass which specific method you need along with the value instead of hardcoding them as props (?). I'm not primarily a React dev so just throwing ideas out there.
Thanks!