How to Interact with Custom Components?

What are you trying to do? (please be as specific as possible and include relevant screenshots, code snippets, and reproduction steps)
I uploaded an Azure Map React component as a custom component to my Plasmic Project. I want to set up a button that recenters the map. How can I create a button with Plasmic that will interact with my custom component?

What have you tried so far? (please link relevant docs and other forum posts)
I want to use Plasmic’s UI as much as possible to create and style this button and make it interact with my custom component.

You can expose actions from your code component using the refActions meta. Read more about it in our Element Actions doc

1 Like