Issue with creating a streamlit component that renders a react canvas component. "property 'canvas' does not exist on type 'MyComponent'"

Iā€™m trying to create a streamlit component which renders an already drawn canvas with a react Canvas component. Iā€™m getting an error message reading "property ā€˜canvasā€™ does not exist on type ā€˜MyComponentā€™.
Iā€™m still pretty new to this, not sure if it is even possible. Any ideas?


What its supposed to look like

Thanks

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.