Skip to content
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

Fix Button: make label prop optional #656

Merged
merged 2 commits into from
May 16, 2024
Merged

Fix Button: make label prop optional #656

merged 2 commits into from
May 16, 2024

Conversation

shashank-bhatotia
Copy link
Contributor

@shashank-bhatotia
Copy link
Contributor Author

@paulsojan _a Please review.

@paulsojan
Copy link
Contributor

@sangameshsomawar _a Please review and merge

@neetogit-bot neetogit-bot bot assigned sangameshsomawar and unassigned paulsojan May 16, 2024
Copy link
Contributor

@sangameshsomawar sangameshsomawar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@paulsojan @shashank-bhatotia : If we are using a button without a label, are we using it with an icon? If so, I think we need to adjust the margins when the label is empty. Otherwise, the icon might appear misaligned. Please check this scenario and merge.

Screenshot 2024-05-16 at 1 58 02 PM

@shashank-bhatotia
Copy link
Contributor Author

@sangameshsomawar _a Please review

@sangameshsomawar sangameshsomawar merged commit 028a3f1 into main May 16, 2024
@sangameshsomawar sangameshsomawar deleted the fix-button branch May 16, 2024 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix Button: make the label as an optional prop
3 participants