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

[Feature Request] Dynamically set size of badge #20837

Open
Tauromachian opened this issue Jan 5, 2025 · 0 comments
Open

[Feature Request] Dynamically set size of badge #20837

Tauromachian opened this issue Jan 5, 2025 · 0 comments

Comments

@Tauromachian
Copy link
Contributor

Problem to solve

  • Change size without recurring to SCSS or the :deep helper
  • Dynamically set the size of the badge for complex scenarios.
  • Set a default size and overwrite it on demand (again without having to use the :deep helper)

Proposed solution

Make a size prop that accepts a number and (string with number). This number will then be applied as the height and width of the badge with the px unit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant