-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
Sign in & Sign Up buttons enhancement #168
Conversation
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.
Hi there, Thanks a lot for your first pull request, we'll be reviewing it asap :)
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.
Using reserved prop-names like className and style on custom components hurts readability and makes the code harder to maintain. These props should only be used for DOM nodes like div, a, span, etc. It works in this case but should not be used in practice @ritika728 .
You can take a look into this https://mui.com/material-ui/customization/how-to-customize/
Thank you for the information! I have made the required changes. Kindly review and let me know if any more changes are needed @narayan954 |
You did great :) but you forgot the DRY principal! You can store that style in a constant variable. |
stored style for button in a variable to remove repetition of code
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.
you may take a look at this.
Yes, I got it, thank you so much! |
Hey, I have resolved issue #166. Thank you!