Skip to content

Make the <Link> rendered <a> dynamic. #3408

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

Closed
aaronbeall opened this issue Apr 28, 2016 · 1 comment
Closed

Make the <Link> rendered <a> dynamic. #3408

aaronbeall opened this issue Apr 28, 2016 · 1 comment

Comments

@aaronbeall
Copy link

aaronbeall commented Apr 28, 2016

Version

2.0.0

Description

The <Link> component renders a <a> tag, but in some cases we want to use a <button> or a <div> or something else. It would be nice if the <Link> component had a property like element which defaults to "a" but could be anything you want.

@taion
Copy link
Contributor

taion commented Apr 28, 2016

See earlier discussion in #83, #816, and others.

We want to keep <Link> as simple as possible, and give it optimal a11y by default as an anchor.

@taion taion closed this as completed Apr 28, 2016
@taion taion added the wontfix label Apr 28, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Jan 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants