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

fix: add disabled link option #1430

Merged
merged 4 commits into from
Mar 21, 2023
Merged

fix: add disabled link option #1430

merged 4 commits into from
Mar 21, 2023

Conversation

felix-ico
Copy link
Collaborator

No description provided.

@render
Copy link

render bot commented Dec 16, 2022

@felix-ico
Copy link
Collaborator Author

this should fix #1427 however I don't know if we want to support disabled links in general?

good article about this topic https://www.scottohara.me/blog/2021/05/28/disabled-links.html

@felix-ico
Copy link
Collaborator Author

@acstll could you check this one? also re: the above comment

@netlify
Copy link

netlify bot commented Feb 6, 2023

Deploy Preview for marvelous-moxie-a6e2fe ready!

Name Link
🔨 Latest commit b70fab2
🔍 Latest deploy log https://app.netlify.com/sites/marvelous-moxie-a6e2fe/deploys/6419a3a38066cc0008f2c6d2
😎 Deploy Preview https://deploy-preview-1430--marvelous-moxie-a6e2fe.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Collaborator

@acstll acstll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, I wouldn't be in favor of allowing disabled links but since it's doable without much hassle, I think we can. Also the article you posted is great 🙌.

You almost had it, I'm suggesting a few changes only.

packages/components/src/components/button/button.tsx Outdated Show resolved Hide resolved
packages/components/src/components/button/button.tsx Outdated Show resolved Hide resolved
packages/components/src/components/button/button.tsx Outdated Show resolved Hide resolved
@felix-ico felix-ico merged commit 0128a9e into main Mar 21, 2023
@felix-ico felix-ico deleted the fix/1427-disabled-link-button branch March 21, 2023 13:13
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.

2 participants