Shopify / ui-extensions

MIT License
266 stars 36 forks source link

updated list component docs #1991

Closed merkoyep closed 4 months ago

merkoyep commented 4 months ago

Background

https://github.com/Shopify/ui-extensions/assets/81783308/8946d23a-a11f-4635-afcd-4e72f3037b5c

Solution

Checklist

github-actions[bot] commented 4 months ago

We detected some changes in packages/*/package.json or packages/*/src, and there are no updates in the .changeset directory. If the changes are user-facing and should cause a version bump, run yarn changeset to track your changes and include them in the next release CHANGELOG. If you are making simple updates to repo configuration, examples, or documentation, you do not need to add a changeset.

js-goupil commented 4 months ago

This looks great. I wonder if we could reuse the examples from the product search API docs as examples for how to use the List. Since it shows how to render the list with several of the properties

https://github.com/Shopify/ui-extensions/blob/3de41c6da64e60fdc9c4551987babdd9a12287d1/packages/ui-extensions/docs/surfaces/point-of-sale/reference/apis/product-search-api.doc.ts#L28-L39