Last active
December 21, 2022 13:05
-
-
Save alwaisy/b2413b6d5dbbf5e1d25474c016109a6c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///// button-atom | |
add borderRadius: string to index.d.ts | |
add props borderRadius to button.tsx | |
add borderRadius: "10px" to default props | |
// issues: | |
color property is not working | |
// solution | |
remove color property from Button story Text component | |
add color="primary" props in button.tsx | |
add color="primary" in default props | |
add --> ${styles[`btn-${color}`]}` <-- to className like this className={`social-login-button ${styles[`btn-${color}`]}`} | |
// |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment