-
Notifications
You must be signed in to change notification settings - Fork 144
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
refactor: button and link with stories #4820
Conversation
5298cf2
to
127108e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work here @fbwoolf , thanks for taking this on.
I added some feedback but it LGTM 👍 let me know when it's ready for full review and I can re-check.
I encountered one other link
component along the way: ExternalLink
. We seem to have that and also ExternalLinkIcon
. Maybe we can move these into the one Link
story and do a refactor?
We seem to sometimes pass ExternalLinkIcon
into InfoCardBtn
which we can hopefully replace with Link
/ Button
.
That could be a job for another task but just mentioning now lest I forget
src/app/pages/send/send-crypto-asset-form/components/send-max-button.tsx
Show resolved
Hide resolved
127108e
to
243a9c4
Compare
243a9c4
to
1e68cd3
Compare
ff106e4
to
6016325
Compare
This should be ready to review. I linked an issue here that was opened to address our use of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work here @fbwoolf . It's great to get these components in and some great refactors and improvements along the way 🚀
I added a comment to that task as I'm not sure if we need to do it / the urgency. It could be nice to use the new components for all |
6016325
to
771f014
Compare
771f014
to
76e72d5
Compare
This PR refactors our
LeatherButton
toButton
and separates out a newLink
component w/ recipe. I wanted to get this up for review, but I still need to QA all the changes.TODO:
styled.button
w/ sharedButton
What do people think of the Link variant names:
underlined
(as default) andtext
(when not underlined?)