-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
chore: convert statLoadingMessage #8199
chore: convert statLoadingMessage #8199
Conversation
✅ ethereum-org-website-dev deploy preview ready
|
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.
Hey @therealharpaljadeja! Nice work. One tiny detail from me and then I think this is good to go! 😄
@pettinarip noting that the StatErrorMessage
component needs to be migrated first before this is merged, as it is dependent on a Styled component (IndicatorSpan
) originally imported from this component.
export const IndicatorSpan = styled.span<IProps>` | ||
${typography} | ||
` | ||
export interface IProps {} |
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.
This interface needs to be expanded to include a Chakra props type so that you can pass in Chakra props at the parent level. (i.e. The Stat
component in what-is-ethereum page currently throws a type error)
export interface IProps {} | |
export interface IProps extends TextProps {} |
Good point @TylerAPfledderer ✌🏼 I'll quickly add those things in here. |
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.
lgtm! thanks @therealharpaljadeja
Be sure to join the discord if you are interested in contributing further to the project or have any questions for the team. And we've just released our 2022 POAPs so remember to claim yours also 🥳!
Congrats, your important contribution to this open-source project has earned you a GitPOAP! GitPOAP: 2023 Ethereum.org Contributor: Head to gitpoap.io & connect your GitHub account to mint! Learn more about GitPOAPs here. |
@all-contributors please add @therealharpaljadeja for code |
I've put up a pull request to add @therealharpaljadeja! 🎉 |
Description
Convert the StatLoadingMessage component to Chakra
Related Issue
Epic: #6374