This page was printed on Sep 20, 2019. For the current version, visit https://help.shopify.com/en/api/embedded-apps/app-bridge/react-components/resourcepicker.
Setup and open
ResourcePicker component from
@shopify/app-bridge-react. Only one
Provider is needed for your application.
||Whether the picker is open or not||Yes|
||The type of resource you want to pick||Yes|
||GraphQL initial search query for filtering resources available in the picker. See search syntax for more information|
||Whether to show hidden products or not|
||Whether to allow selection of multiple items|
||Whether to show product variants or not. Only applies to the product resource type picker|
||Callback when a selection has been made. It receives a
||Callback when the picker is closed without selection|