File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
components/dash-core-components/src/components Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 1+ import { pick } from 'ramda' ;
12import React , { lazy , Suspense } from 'react' ;
23import { RangeSliderProps } from '../types' ;
34import rangeSlider from '../utils/LazyLoader/rangeSlider' ;
@@ -38,3 +39,8 @@ export default function RangeSlider({
3839 </ Suspense >
3940 ) ;
4041}
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' ;
12import React , { lazy , Suspense } from 'react' ;
2- import { SliderProps } from '../types' ;
3+ import { SliderProps } from '../types' ;
34import slider from '../utils/LazyLoader/slider' ;
45
56import './css/sliders.css' ;
@@ -37,3 +38,8 @@ export default function Slider({
3738 </ Suspense >
3839 ) ;
3940}
41+
42+ Slider . dashPersistence = pick (
43+ [ 'persisted_props' , 'persistence_type' ] ,
44+ defaultProps
45+ ) ;
You can’t perform that action at this time.
0 commit comments