Skip to content

Commit

Permalink
fix(ProgressIndicator): add description title to warning icon (#7794)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
briangleeson and kodiakhq[bot] authored Feb 12, 2021
1 parent 48d0115 commit 82abdc6
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,11 @@ export function ProgressStep({
// eslint-disable-next-line react/prop-types
const SVGIcon = ({ complete, current, description, invalid, prefix }) => {
if (invalid) {
return <Warning16 className={`${prefix}--progress__warning`} />;
return (
<Warning16 className={`${prefix}--progress__warning`}>
<title>{description}</title>
</Warning16>
);
}
if (current) {
return (
Expand Down

0 comments on commit 82abdc6

Please sign in to comment.