Skip to content

Commit f23e368

Browse files
authored
fix(datatables/popovers) class -> className (#4703)
1 parent ea7bd68 commit f23e368

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

ui/components/data-tables/base/example.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,13 +303,13 @@ export let examples = [
303303
<>
304304
<h2
305305
id="element-with-table-label"
306-
class="slds-text-heading_medium slds-m-bottom_xx-small"
306+
className="slds-text-heading_medium slds-m-bottom_xx-small"
307307
>
308308
Example data table of Opportunities
309309
</h2>
310310
<h3
311311
id="other-element-with-table-label"
312-
class="slds-text-title slds-m-bottom_small"
312+
className="slds-text-title slds-m-bottom_small"
313313
>
314314
Using <code>aria-labelledby</code>, instead of aria-label
315315
</h3>

ui/components/popovers/base/example.jsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ export let examples = [
221221
className="slds-nubbin_left"
222222
closeButton
223223
footer={
224-
<div class="slds-grid slds-grid_vertical-align-center">
225-
<button class="slds-button slds-button_neutral slds-col_bump-left">
224+
<div className="slds-grid slds-grid_vertical-align-center">
225+
<button className="slds-button slds-button_neutral slds-col_bump-left">
226226
Learn More
227227
</button>
228228
</div>
@@ -247,8 +247,8 @@ export let examples = [
247247
iconName="favorite"
248248
iconAssistiveText="Assistive text here"
249249
footer={
250-
<div class="slds-grid slds-grid_vertical-align-center">
251-
<button class="slds-button slds-button_neutral slds-col_bump-left">
250+
<div className="slds-grid slds-grid_vertical-align-center">
251+
<button className="slds-button slds-button_neutral slds-col_bump-left">
252252
Learn More
253253
</button>
254254
</div>
@@ -464,8 +464,8 @@ export let examples = [
464464
className="slds-popover_dark slds-nubbin_left"
465465
closeButton
466466
footer={
467-
<div class="slds-grid slds-grid_vertical-align-center">
468-
<button class="slds-button slds-button_brand slds-col_bump-left">
467+
<div className="slds-grid slds-grid_vertical-align-center">
468+
<button className="slds-button slds-button_brand slds-col_bump-left">
469469
Learn More
470470
</button>
471471
</div>
@@ -490,8 +490,8 @@ export let examples = [
490490
iconName="favorite"
491491
iconAssistiveText="Assistive text here"
492492
footer={
493-
<div class="slds-grid slds-grid_vertical-align-center">
494-
<button class="slds-button slds-button_brand slds-col_bump-left">
493+
<div className="slds-grid slds-grid_vertical-align-center">
494+
<button className="slds-button slds-button_brand slds-col_bump-left">
495495
Learn More
496496
</button>
497497
</div>

0 commit comments

Comments
 (0)