File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed
components/dash-core-components Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change
1
+ import { pick } from 'ramda' ;
1
2
import React , { lazy , Suspense } from 'react' ;
2
3
import { RangeSliderProps } from '../types' ;
3
4
import rangeSlider from '../utils/LazyLoader/rangeSlider' ;
@@ -38,3 +39,8 @@ export default function RangeSlider({
38
39
</ Suspense >
39
40
) ;
40
41
}
42
+
43
+ RangeSlider . dashPersistence = pick (
44
+ [ 'persisted_props' , 'persistence_type' ] ,
45
+ defaultProps
46
+ ) ;
Original file line number Diff line number Diff line change
1
+ import { pick } from 'ramda' ;
1
2
import React , { lazy , Suspense } from 'react' ;
2
- import { SliderProps } from '../types' ;
3
+ import { SliderProps } from '../types' ;
3
4
import slider from '../utils/LazyLoader/slider' ;
4
5
5
6
import './css/sliders.css' ;
@@ -37,3 +38,8 @@ export default function Slider({
37
38
</ Suspense >
38
39
) ;
39
40
}
41
+
42
+ Slider . dashPersistence = pick (
43
+ [ 'persisted_props' , 'persistence_type' ] ,
44
+ defaultProps
45
+ ) ;
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ def make_output(*args):
161
161
["4️⃣" , "6️⃣" ],
162
162
"yes maybe" ,
163
163
"r" ,
164
- [5 , 8 ],
164
+ [5 , 9 ],
165
165
22 ,
166
166
"C" ,
167
167
"knock knock\n who's there?" ,
You can’t perform that action at this time.
0 commit comments