Shopify / ui-extensions

MIT License
249 stars 35 forks source link

adds useCustomerPrivacy hook and updates Sheet and Customer Privacy examples #1987

Closed rcaplanshopify closed 1 month ago

rcaplanshopify commented 1 month ago

Background

This PR introduces examples for the Customer Privacy API, adds the useCustomerPrivacy hook, and optimizes the Sheet component examples.

Solution

(Describe your solution, why this approach was chosen, and what the alternatives/impacts may be)

🎩

Sheet examples

Customer Privacy API examples

useCustomerPrivacy hook

Checklist

github-actions[bot] commented 1 month 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.