amplify-ui icon indicating copy to clipboard operation
amplify-ui copied to clipboard

Add stackblitz

Open dbanksdesign opened this issue 2 years ago • 2 comments

Description of changes

  • Add's an open in stackblitz button for applicable examples. Because we use named exports it is a bit more difficult to do.I wanted to open this up so people could give feedback before I add change a bunch of docs files.
  • Some minor layout optimization for example code blocks

Issue #, if available

Description of how you validated changes

CleanShot 2022-06-15 at 12 30 02

Before After
CleanShot 2022-06-15 at 12 26 49@2x CleanShot 2022-06-15 at 12 26 13@2x
Simulator Screen Shot - iPhone 13 - 2022-06-15 at 12 22 10 Simulator Screen Shot - iPhone 13 - 2022-06-15 at 12 25 27
Simulator Screen Shot - iPhone 13 - 2022-06-15 at 12 35 23 Simulator Screen Shot - iPhone 13 - 2022-06-15 at 12 35 32

Checklist

  • [ ] PR description included
  • [ ] yarn test passes
  • [ ] Tests are updated
  • [ ] No side effects or sideEffects field updated
  • [ ] Relevant documentation is changed or added (and PR referenced)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

dbanksdesign avatar Jun 15 '22 19:06 dbanksdesign

⚠️ No Changeset found

Latest commit: 0eeb2562585fadd078dc99662c3a08b3229cfd8e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Jun 15 '22 19:06 changeset-bot[bot]

Updated this draft PR to bring it up to date with main, but this feature is currently blocked on resolving some performance issues we are seeing with running amplify apps in stackblitz

jacoblogan avatar Aug 11 '22 18:08 jacoblogan