How to pass data in contents file?

Hi everyone, I just learned to use plasmo

I read this section in the docs
https://docs.plasmo.com/framework/content-scripts-ui,
So I created a Content Scripts UI file called index.tsx.
When the index.ts file in the background folder calls the windowChanger function in the content file in index.ts, how to transfer the data generated by the PlasmoMainUI component in the index.tsx file and render it on the webpage?

I hope someone can tell me, thank you very much
2023-06-18_12-00-43.png
Was this page helpful?