Skip to content

Commit 0eca72c

Browse files
docs(progressbar,tooltip): add missing args to template
There were missing args in the templates for progress bar and tooltip. Adding those back in renders the components once again. Progress bar was just incorrectly named `isStaticWhite` when the arg was actually `staticColor`. Tooltip was missing the `variant = "neutral"`.
1 parent dd96363 commit 0eca72c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

components/progressbar/stories/template.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const Template = ({
1212
rootClass = "spectrum-ProgressBar",
1313
customClasses = [],
1414
labelPosition,
15-
isStaticWhite,
15+
staticColor,
1616
customWidth,
1717
isIndeterminate = false,
1818
label,

components/tooltip/stories/template.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export const Template = ({
1212
rootClass = "spectrum-Tooltip",
1313
label,
1414
placement,
15+
variant = "neutral",
1516
isOpen = true,
1617
isFocused = false,
1718
showOnHover = false,

0 commit comments

Comments
 (0)