Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add note about attachment param #2581

Open
wants to merge 1 commit into
base: unstable
Choose a base branch
from

Conversation

elanalynn
Copy link
Contributor

@elanalynn elanalynn commented Jan 23, 2025

Background

In response to a question about the download param not working in button, this PR adds a note about the attachment query param.

This will update these docs.

Solution

Adding the following to the download prop description.

* Use `attachment` query param in URL to force download behavior.
* eg. `to="filename.jpg?attachment"`

🎩

Just a comment; Will generate docs after this PR.

Checklist

  • I have 🎩'd these changes
  • I have updated relevant documentation

Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant