Skip to content

Commit c0c49f5

Browse files
Merge pull request salesforce#1439 from ctrimm/bugfix/alert-icon
Bugfix for Inconsistent Alert Icon
2 parents 4b00c15 + 9218f30 commit c0c49f5

14 files changed

+3
-3
lines changed

components/alert/__examples__/error.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class Example extends React.Component {
1010
<IconSettings iconPath="/assets/icons">
1111
<AlertContainer>
1212
<Alert
13-
icon={<Icon category="utility" name="ban" />}
13+
icon={<Icon category="utility" name="error" />}
1414
labels={{
1515
heading:
1616
'Your browser is currently not supported. Your Salesforce may be degraded.',

components/alert/__tests__/__snapshots__/alert.snapshot-test.jsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ exports[`Alert Error DOM Snapshot 1`] = `
137137
className="slds-icon slds-icon--x-small"
138138
>
139139
<use
140-
xlinkHref="/assets/icons/utility-sprite/svg/symbols.svg#ban"
140+
xlinkHref="/assets/icons/utility-sprite/svg/symbols.svg#error"
141141
/>
142142
</svg>
143143
@@ -158,7 +158,7 @@ exports[`Alert Error DOM Snapshot 1`] = `
158158

159159
exports[`Alert Error HTML Snapshot 1`] = `
160160
"<div class=\\"slds-notify-container\\">
161-
<div class=\\"slds-notify slds-notify_alert slds-theme_alert-texture slds-theme_error\\" role=\\"alert\\"><span class=\\"slds-assistive-text\\">error</span><span class=\\"slds-m-right--x-small\\"><svg aria-hidden=\\"true\\" class=\\"slds-icon slds-icon--x-small\\"><use xlink:href=\\"/assets/icons/utility-sprite/svg/symbols.svg#ban\\"></use></svg></span>
161+
<div class=\\"slds-notify slds-notify_alert slds-theme_alert-texture slds-theme_error\\" role=\\"alert\\"><span class=\\"slds-assistive-text\\">error</span><span class=\\"slds-m-right--x-small\\"><svg aria-hidden=\\"true\\" class=\\"slds-icon slds-icon--x-small\\"><use xlink:href=\\"/assets/icons/utility-sprite/svg/symbols.svg#error\\"></use></svg></span>
162162
<h2>Your browser is currently not supported. Your Salesforce may be degraded. <a href=\\"javascript:void(0);\\">More Information</a></h2>
163163
</div>
164164
</div>"

0 commit comments

Comments
 (0)