We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It adds a small colored "pill" on the corner of the button with the count displayed.
We expect an integer to be passed and I think you can adapt the font size based on if there is 1, 2, or more digits in the number.
Example in NMRium:
API suggestion:
// text color is always white <Toolbar.Item count={3} countBackgroundColor="red" />
The text was updated successfully, but these errors were encountered:
I like this style, WDYT?
And on hover
I used Tag component https://blueprintjs.com/docs/#core/components/tag
Sorry, something went wrong.
SGTM, see PR comments
wadjih-bencheikh18
Successfully merging a pull request may close this issue.
It adds a small colored "pill" on the corner of the button with the count displayed.
We expect an integer to be passed and I think you can adapt the font size based on if there is 1, 2, or more digits in the number.
Example in NMRium:
API suggestion:
The text was updated successfully, but these errors were encountered: