-
-
Notifications
You must be signed in to change notification settings - Fork 114
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: implement "tooltip" prop on the ButtonIcon
component
#2064
feat: implement "tooltip" prop on the ButtonIcon
component
#2064
Conversation
Features
Bug Fixes
Code Refactoring
ContributorsHellWolf93, LeandroTorresSicilia Commit-Lint commandsYou can trigger Commit-Lint actions by commenting on this PR:
|
super(props); | ||
this.buttonRef = React.createRef(); | ||
} | ||
const ButtonIcon = React.forwardRef((props, ref) => { |
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.
Function ButtonIcon
has 113 lines of code (exceeds 25 allowed). Consider refactoring.
Code Climate has analyzed commit 3ed3801 and detected 3 issues on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
…y#2064) * feat: implement "tooltip" prop on the `ButtonIcon` component fix: nexxtway#2059 * fix: solve errors on tests * refactor: make ButtonIcon a functional component * fix: fix error when using htmlElementRef * fix: fix tooltip behavior in ButtonIcon component * fix: add `buttonRef` to ButtonIcon API for backward compatibility Co-authored-by: Jose Leandro Torres <jtorressicilia@gmail.com>
fix: #2059
Changes proposed in this PR: