mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
* add alt attr to images * add alt attr to images
This commit is contained in:
parent
e67873f452
commit
62aff6b01f
2 changed files with 2 additions and 7 deletions
|
@ -9,6 +9,7 @@ exports[`props iconType 1`] = `
|
|||
href="link_to_item"
|
||||
icon={
|
||||
<EuiIcon
|
||||
alt=""
|
||||
size="l"
|
||||
type="logoApache"
|
||||
/>
|
||||
|
|
|
@ -37,13 +37,7 @@ export function Synopsis({
|
|||
if (iconUrl) {
|
||||
optionalImg = <img className="synopsisIcon" src={iconUrl} alt="" />;
|
||||
} else if (iconType) {
|
||||
optionalImg = (
|
||||
<EuiIcon
|
||||
type={iconType}
|
||||
// color="primary"
|
||||
size="l"
|
||||
/>
|
||||
);
|
||||
optionalImg = <EuiIcon type={iconType} alt="" size="l" />;
|
||||
}
|
||||
|
||||
const classes = classNames('homSynopsis__card', {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue