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

Button refactor: use shared functional component for IconButton and Button #133

Merged
merged 3 commits into from
Dec 3, 2023

Conversation

kerryarchibald
Copy link
Contributor

Inspired by recent improvement to Button (make disabled buttons focusable #132) where I forgot to apply it to IconButton and would have had to duplicate code.

Adds an internal only unstyled button component to be wrapped by Button and IconButton.

No visual changes.

@kerryarchibald kerryarchibald requested a review from a team as a code owner November 26, 2023 22:18
@kerryarchibald kerryarchibald requested review from dbkr and robintown and removed request for a team November 26, 2023 22:18
Copy link

cloudflare-workers-and-pages bot commented Nov 26, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 28fbe1f
Status: ✅  Deploy successful!
Preview URL: https://00f8da38.compound-web.pages.dev
Branch Preview URL: https://kerry-shared-internal-button.compound-web.pages.dev

View logs

@kerryarchibald
Copy link
Contributor Author

@kerryarchibald kerryarchibald merged commit ce112c1 into main Dec 3, 2023
6 of 7 checks passed
@kerryarchibald kerryarchibald deleted the kerry/shared-internal-button branch December 3, 2023 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants