Intro component with sign up form with react & tailwindcss

Solution retrospective
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 (
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Smaylen5's solution.
Join 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