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

Update Address component docs #89

Closed
technophile-04 opened this issue Sep 23, 2024 · 0 comments · Fixed by #90
Closed

Update Address component docs #89

technophile-04 opened this issue Sep 23, 2024 · 0 comments · Fixed by #90
Assignees

Comments

@technophile-04
Copy link
Collaborator

Description:

We recently merged scaffold-eth/scaffold-eth-2#924 where we changed the default style of Address component.

Now by default it shows : Ens, address, copy-icon

image

Also in the above case if the address does not have ENS, the component fallbacks to only showing address(similar to how our OG address component looked)

And if you pass onlyEnsOrAddress it will act same as how our current address component works (if there is no Ens show only address, if Ens show ENS and copy icon)

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 a pull request may close this issue.

2 participants