-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Reusable HelpPopover #22060
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
Reusable HelpPopover #22060
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.
Looks good. I added a comment inline
const DiagnosisHelp = ({ helpText, children = null }: Props) => { | ||
const StyledIcon = styled(Icon)( | ||
({ theme }) => css` | ||
color: ${theme.colors.variant.warning}; |
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.
Let's make the color use bsStyle variant so we can use different colors for the help icon when needed. We could set the warning as a default
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.
LGTM! Thank you !
Motivation and Context
fixes #21986
/nocl
Screenshots (if appropriate):
Types of changes
Checklist: