-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
feat: add help text prop to change icon size #2450
feat: add help text prop to change icon size #2450
Conversation
Features
Contributorsyvmunayev, LeandroTorresSicilia Commit-Lint commandsYou can trigger Commit-Lint actions by commenting on this PR:
|
@@ -42,7 +42,7 @@ const inverseIconMap = { | |||
* HelpText is a popup that displays information related to an element. | |||
*/ | |||
const HelpText = React.forwardRef((props, ref) => { | |||
const { id, title, text, variant, tabIndex, className, style } = props; | |||
const { id, title, text, variant, tabIndex, iconSize, className, style } = props; |
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.
Similar blocks of code found in 9 locations. Consider refactoring.
|
||
function InfoIcon({ className, style, isFocused }) { | ||
function InfoIcon({ className, style, isFocused, iconSize }) { |
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.
Similar blocks of code found in 2 locations. Consider refactoring.
|
||
function QuestionIcon({ className, style, isFocused }) { | ||
function QuestionIcon({ className, style, isFocused, iconSize }) { |
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.
Similar blocks of code found in 2 locations. Consider refactoring.
Code Climate has analyzed commit 155efea and detected 7 issues on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
fix: #2449
Changes proposed in this PR:
feat: add help text prop to change icon size
I have followed (at least) the PR section of the contributing guide.
@nexxtway/react-rainbow