amplify-ui
amplify-ui copied to clipboard
chore(storage-browser): add multi-file download docs examples
Description of changes
- add doc examples for multi-file download
- replace URL result value from
new URL('')withnullin default download action used in interactive examples- Using constructor with invalid empty string throws
TypeErrorwhich blocks promise from resolving, preventing mock download interactions from rendering properly
- Using constructor with invalid empty string throws
Issue #, if available
Description of how you validated changes
Checklist
- [x] Have read the Pull Request Guidelines
- [x] PR description included
- [x]
yarn testpasses and tests are updated/added - [x] PR title and commit messages follow conventional commit syntax
- [x] If this change should result in a version bump, changeset added (This can be done after creating the PR.) This does not apply to changes made to
docs,e2e,examples, or other private packages.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
⚠️ No Changeset found
Latest commit: 6551f1d1fea294dd7abe932e2362d27ae3724999
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