Shopify / ui-extensions

MIT License
249 stars 35 forks source link

POS UI Ext: add dialog and camera scanner examples to docs #2002

Closed vctrchu closed 1 month ago

vctrchu commented 1 month ago

Resolves https://github.com/Shopify/pos-next-react-native/issues/36302

Background

Adds CameraScanner and Dialog examples and descriptions for props. I also updated some scanner examples that were using the incorrect syntax.

🎩

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.

js-goupil commented 1 month ago

ie if I hover over CameraScanner, this is what I see:

Screenshot 2024-05-27 at 9 23 11 AM

but if I hover over Tile, I see this (it lists all the properties nicely):

Screenshot 2024-05-27 at 9 23 25 AM

Also by having the property tags inside, we get this weird thing where we get two statements for one property:

Screenshot 2024-05-27 at 9 23 01 AM