Add code example: Embed Ketcher into React SPA #578
-
Could you implement a code example that shows how to embed a non-full-size ketcher react component into a single page react application? Please showcase the following:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Dear @mohacsizs , example of injecting Ketcher into react app can be found here. If you want to render it in non-full-size mode you should wrap component by additional parent node with fixed size. Best regards, |
Beta Was this translation helpful? Give feedback.
-
When I try to inject Ketcher onto my project and try to build my project, I get the following errors:
Anyone else run into this? |
Beta Was this translation helpful? Give feedback.
Dear @mohacsizs ,
example of injecting Ketcher into react app can be found here. If you want to render it in non-full-size mode you should wrap component by additional parent node with fixed size.
For details please look at the picture below:
Best regards,
Ketcher team