File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
components/dash-core-components/src/fragments Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -193,14 +193,12 @@ export default function RangeSlider(props: RangeSliderProps) {
193193 }
194194 } ;
195195
196+ const classNames = [ 'dash-slider-container' , className ] . filter ( Boolean ) ;
197+
196198 return (
197199 < LoadingElement >
198200 { loadingProps => (
199- < div
200- id = { id }
201- className = "dash-slider-container"
202- { ...loadingProps }
203- >
201+ < div id = { id } className = { classNames . join ( ' ' ) } { ...loadingProps } >
204202 { showInputs && value . length === 2 && ! vertical && (
205203 < input
206204 type = "number"
@@ -341,7 +339,7 @@ export default function RangeSlider(props: RangeSliderProps) {
341339 ref = { sliderRef }
342340 className = { `dash-slider-root ${
343341 renderedMarks ? 'has-marks' : ''
344- } ${ className || '' } `. trim ( ) }
342+ } `. trim ( ) }
345343 style = { {
346344 ...( vertical && {
347345 height : `${ verticalHeight } px` ,
You can’t perform that action at this time.
0 commit comments