@@ -77,7 +77,6 @@ export default class extends React.Component {
7777 hoverDelayInMs : PropTypes . number ,
7878 hoverOffDelayInMs : PropTypes . number ,
7979 isEnabled : PropTypes . bool ,
80- mapChildProps : PropTypes . func ,
8180 onActivationChanged : PropTypes . func ,
8281 onDetectedEnvironmentChanged : PropTypes . func ,
8382 onPositionChanged : PropTypes . func ,
@@ -95,7 +94,6 @@ export default class extends React.Component {
9594 hoverDelayInMs : 0 ,
9695 hoverOffDelayInMs : 0 ,
9796 isEnabled : true ,
98- mapChildProps : props => props ,
9997 onActivationChanged : noop ,
10098 onDetectedEnvironmentChanged : noop ,
10199 onPositionChanged : noop ,
@@ -453,10 +451,10 @@ export default class extends React.Component {
453451 }
454452
455453 render ( ) {
456- const { children, className, mapChildProps , style } = this . props ;
454+ const { children, className, style } = this . props ;
457455 const props = objectAssign (
458456 { } ,
459- mapChildProps ( this . state ) ,
457+ this . state ,
460458 this . getPassThroughProps ( )
461459 ) ;
462460
0 commit comments