diff --git a/src/components/Icon/Icon.js b/src/components/Icon/Icon.js index 1067ec8831..af5df0a905 100644 --- a/src/components/Icon/Icon.js +++ b/src/components/Icon/Icon.js @@ -160,7 +160,7 @@ const Icon = ({ const svgContent = icon ? svgShapes(icon.svgData) : ''; return ( - + {typeof iconTitle === 'undefined' ? description : iconTitle} @@ -246,6 +246,7 @@ Icon.propTypes = { Icon.defaultProps = { fillRule: 'evenodd', role: 'img', + description: 'Provide a description that will be used as the title', }; export { icons };