Dragging MUI icon from child to parent
mick-zelta opened this issue ยท 1 comments
Great repo! Also first issue ๐
Trying to load mui icons from my child iFrame to the parent window with a drag and drop feature (similar to map pins on google maps.) Pretty new to TypeScript and React and just keep getting errors. And once I resolve one I encounter like 5 more ๐ For example "Cannot assign to rvalue that is not a reference." I felt there was no harm in reaching out.
I was wondering is what I'm trying to do even possible? Can I even JSON.stringify the Material UI icons? and then send those as messages?
Thanks!
Michael
Hi! Sorry just seeing this now.
You can send any message you like between iframes! I imagine there is a more efficient way than sending the entire icon stringified, but get it working first and then optimise :) Hope you worked it out!