Open NegaTiv1298 opened 3 months ago
I'm also experiencing this issue, if you pause on the "Unsupported component:.." error I can see the component list being validated against only has the following:
"BlockStack" "Box" "Divider" "Heading" "HeadingGroup" "Icon" "Image" "InlineStack" "Link" "Text" "Form" "FunctionSettings"
Which is far less than what is in the admin components list. product-configuration.js where the error is calling
createComponent(type, ...rest) {
if (components && components.indexOf(type) < 0) {
throw new Error(`Unsupported component: ${type}`);
}
...
Would love to know if this is to be expected for Admin UI Extensions?
Please list the package(s) involved in the issue, and include the version you are using
Describe the bug
I am developing a Product Detail Configuration Extension and ran into the problem that a large number of components are not supported even though they are listed in @shopify/ui-extensions-react/admin For example, consider the Thumbnail component. When I import this component and want to display it on the product page, I get the error Error: Unsupported component: Thumbnail
Although when I look at the @shopify/ui-extensions-react/admin components, I see that the "Thumbnail" is present
Steps to reproduce the behavior:
Expected behavior
I expected that if the components are present in @shopify/ui-extensions-react, I can use them in my development and make the block view like in Shopify Bundles app that has these components available
Screenshots