Can an overlay change the variant of a component in the page below it?


I’m trying to change the variant of an “image upload” type component when I open the “image upload” overlay and validate the upload. I’d like the component where the upload button appears to change variant to display the images.

Would you know how to do this? Thank you in advance for your help.