Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
Hi, when I research how to properly use Resource Picker I found two versions of documentations. The [legacy version](https://shopify.dev/docs/api/app-bridge/previous-versions/actions/resourcepicker) suggests to use it as a component and the [newer version](https://shopify.dev/docs/api/app-bridge-library/reference/resource-picker) suggests to use it as a function. I was able to get Resource Picker to work with the legacy method but cannot figure out what I am supposed to import and where to place the tutorial code snippets for the newer version.
Can someone explain how this works?