Skip to content

Commit 5fccf61

Browse files
committed
React samples working
1 parent 16c10fd commit 5fccf61

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

Samples-Typescript/Formatting/formatting.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ import * as ReactDOM from 'react-dom';
4545
return <>
4646
<hr />
4747
<div>Benton Sans (regular) is the default font used for text elements in the Tableau UI.</div>
48-
<div className="italic-section">Benton Sans (italic) is used for generated fields.</div>
49-
<div className="weight-bold-section">Benton Sans (bold) is used for Tableau headings.</div>
50-
<div className="weight-100-section">Benton Sans (100) is a lightweight alternative</div>
48+
<div className='italic-section'>Benton Sans (italic) is used for generated fields.</div>
49+
<div className='weight-bold-section'>Benton Sans (bold) is used for Tableau headings.</div>
50+
<div className='weight-100-section'>Benton Sans (100) is a lightweight alternative</div>
5151
<h2 className={tableau.ClassNameKey.WorksheetTitle}>Subheader, using tableau-worksheet-title class</h2>
5252
<text className={tableau.ClassNameKey.Worksheet}>Text, using tableau-worksheet class</text>
5353
<h3 className='tooltip-header'>Hover to see tooltip text, which is using tableau-tooltip class

Samples/DashboardObjectVisibility/dashboardObjectVisibility.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
2-
let React;
3-
let ReactDOM;
2+
var React;
3+
var ReactDOM;
44

55
// Wrap everything in an anonymous function to avoid polluting the global namespace
66
(async () => {

Samples/MoveAndResize/moveAndResize.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
2-
let React;
3-
let ReactDOM;
2+
var React;
3+
var ReactDOM;
44

55
// Wrap everything in an anonymous function to avoid polluting the global namespace
66
(async () => {

Samples/ReplayAnimation/replayAnimation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
2-
let React;
3-
let ReactDOM;
2+
var React;
3+
var ReactDOM;
44

55
(async () => {
66
// Calls replayAnimationSync to toggle dashboard animation speed (0.5x, 1.0x, 2.0x) using ReplaySpeedType

0 commit comments

Comments
 (0)