-
Notifications
You must be signed in to change notification settings - Fork 48
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
Modify the iconColor
property of the Banner
component to override the color.
#2575
Conversation
🦋 Changeset detectedLatest commit: 517b02b The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2575 +/- ##
==========================================
- Coverage 81.88% 81.86% -0.03%
==========================================
Files 145 145
Lines 2887 2889 +2
Branches 912 914 +2
==========================================
+ Hits 2364 2365 +1
- Misses 493 494 +1
Partials 30 30 ☔ View full report in Codecov by Sentry. |
Chromatic Report🚀 Congratulations! Your build was successful! |
className={classNames({ | ||
[styles.Icon]: !iconColor, | ||
})} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
className={classNames({ | |
[styles.Icon]: !iconColor, | |
})} | |
className={classNames( | |
!iconColor && styles.Icon, | |
)} |
문자열이 객체 생성 오버헤드가 없어서 성능 이점이 더 있는 거로 알고있어요
3f54efa
to
517b02b
Compare
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @channel.io/[email protected] ### Patch Changes - Modify the `iconColor` property of the `Banner` component to override the color. ([#2575](#2575)) by @yangwooseong ## [email protected] ### Patch Changes - Updated dependencies - @channel.io/[email protected] Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Self Checklist
Related Issue
iconColor
ofBanner
component does not override icon color of variant #2574Summary
Details
Breaking change? (Yes/No)
References