-
Notifications
You must be signed in to change notification settings - Fork 26
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(react): implement icon button variants #181
Conversation
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.
everything looks good to me aside from my ref type comment
@@ -56,7 +64,9 @@ const IconButton = forwardRef<HTMLButtonElement, IconButtonProps>( | |||
IconButton.propTypes = { | |||
icon: PropTypes.string.isRequired, | |||
label: PropTypes.string.isRequired, | |||
tooltipPlacement: PropTypes.any | |||
tooltipPlayemnt: PropTypes.string, |
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.
typo: should be tooltipPlacement
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.
words are hard
closes #177
This should bring
<IconButton>
in pretty close alignment with<Button>
.