Submitted 4 months ago
Intro component with sign up form with react & tailwindcss
@Smailen5
Design comparison
SolutionDesign
Solution retrospective
What challenges did you encounter, and how did you overcome them?
I was unable to change the class of the component once it was created, so I decided to pass it as props. I'm not sure if it's correct, but it works.
function Button({
color = "green",
roundedSize = "xl",
uppercase = "lowercase",
}) {
return (
Community feedback
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord