@@ -83,7 +83,6 @@ export default class extends React.Component {
8383 onPositionChanged : PropTypes . func ,
8484 pressDurationInMs : PropTypes . number ,
8585 pressMoveThreshold : PropTypes . number ,
86- shouldDecorateChildren : PropTypes . bool ,
8786 shouldStopTouchMovePropagation : PropTypes . bool ,
8887 style : PropTypes . object ,
8988 tapDurationInMs : PropTypes . number ,
@@ -102,7 +101,6 @@ export default class extends React.Component {
102101 onPositionChanged : noop ,
103102 pressDurationInMs : 500 ,
104103 pressMoveThreshold : 5 ,
105- shouldDecorateChildren : true ,
106104 shouldStopTouchMovePropagation : false ,
107105 tapDurationInMs : 180 ,
108106 tapMoveThreshold : 5 ,
@@ -455,16 +453,12 @@ export default class extends React.Component {
455453 }
456454
457455 render ( ) {
458- const { children, className, mapChildProps, shouldDecorateChildren, style } = this . props ;
459- let props = { } ;
460-
461- if ( shouldDecorateChildren ) {
462- props = objectAssign (
463- { } ,
464- mapChildProps ( this . state ) ,
465- this . getPassThroughProps ( )
466- ) ;
467- }
456+ const { children, className, mapChildProps, style } = this . props ;
457+ const props = objectAssign (
458+ { } ,
459+ mapChildProps ( this . state ) ,
460+ this . getPassThroughProps ( )
461+ ) ;
468462
469463 return (
470464 < div { ...{
0 commit comments