So I've been trying to integrate SpreadJS Designer Component (npm module) into my React project following this Quick Start guide for React. After trying for some time I got it to work like this, Spreadsheet is working (shapes, charts, colors and etc)
<Designer styleInfo={{ width: "100%", height: "calc(100vh - 25px)" }} />
But how can I input a JSON file into this through props? What other props are there to access? I couldn't find any documentation related to this. I'm looking for a prop to get and set the document JSON. that's pretty much it.
Update: And maybe get an onChanged event or something. I really don't know what the props are as there is no documentation relating to this.