Skip to content

Commit 06fb03a

Browse files
authored
docstring typos
1 parent 638abf1 commit 06fb03a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

components/dash-core-components/src/components/RangeSlider.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ RangeSlider.propTypes = {
147147
* return value * 10;
148148
* }
149149
* ```
150-
* Then in the component `tooltip={'transform': 'multByTen'
150+
* Then in the component `tooltip={'transform': 'multByTen'}`
151151
*/
152152
transform: PropTypes.string,
153153
}),

components/dash-core-components/src/components/Slider.react.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Slider.propTypes = {
120120
style: PropTypes.object,
121121
/**
122122
* Reference to a function in the `window.dccFunctions` namespace.
123-
* This can be added in a scrip in the asset folder.
123+
* This can be added in a script in the asset folder.
124124
*
125125
* For example, in `assets/tooltip.js`:
126126
* ```
@@ -129,7 +129,7 @@ Slider.propTypes = {
129129
* return value * 10;
130130
* }
131131
* ```
132-
* Then in the component `tooltip={'transform': 'multByTen'
132+
* Then in the component `tooltip={'transform': 'multByTen'}`
133133
*/
134134
transform: PropTypes.string,
135135
}),

0 commit comments

Comments
 (0)