@@ -354,12 +354,13 @@ var LazyLoad = function (_Component) {
354354 height = _props2 . height ,
355355 children = _props2 . children ,
356356 placeholder = _props2 . placeholder ,
357- classNamePrefix = _props2 . classNamePrefix ;
357+ classNamePrefix = _props2 . classNamePrefix ,
358+ style = _props2 . style ;
358359
359360
360361 return _react2 . default . createElement (
361362 'div' ,
362- { className : classNamePrefix + '-wrapper' , ref : this . setRef } ,
363+ { className : classNamePrefix + '-wrapper' , ref : this . setRef , style : style } ,
363364 this . visible ? children : placeholder ? placeholder : _react2 . default . createElement ( 'div' , {
364365 style : { height : height } ,
365366 className : classNamePrefix + '-placeholder'
@@ -384,7 +385,8 @@ LazyLoad.propTypes = {
384385 debounce : _propTypes2 . default . oneOfType ( [ _propTypes2 . default . number , _propTypes2 . default . bool ] ) ,
385386 placeholder : _propTypes2 . default . node ,
386387 scrollContainer : _propTypes2 . default . oneOfType ( [ _propTypes2 . default . string , _propTypes2 . default . object ] ) ,
387- unmountIfInvisible : _propTypes2 . default . bool
388+ unmountIfInvisible : _propTypes2 . default . bool ,
389+ style : _propTypes2 . default . object
388390} ;
389391
390392LazyLoad . defaultProps = {
0 commit comments