drag-drop-list-react
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -129,5 +129,2 @@ 'use strict'; | ||
ans.style.width = '100%'; | ||
if (typeof this.props.class !== 'undefined') { | ||
ans.class = this.props.class; | ||
} | ||
return ans; | ||
@@ -730,3 +727,2 @@ } | ||
animationDuration: _propTypes2.default.func, | ||
class: _propTypes2.default.string, | ||
topElem: _propTypes2.default.element, | ||
@@ -733,0 +729,0 @@ bottomElem: _propTypes2.default.element, |
@@ -120,3 +120,3 @@ 'use strict'; | ||
var tag = typeof this.props.tag === 'undefined' ? 'div' : this.props.tag; | ||
return _react2.default.createElement(tag, { style: this.myStyle }, _react2.default.createElement('div', { style: { display: 'flex', alignItems: 'center', height: '100%', width: '100%', flexDirection: 'column' } }, this.topElem !== null && this.topElem, _react2.default.createElement( | ||
return _react2.default.createElement(tag, { style: this.myStyle, className: this.props.class === 'undefined' ? '' : this.props.class }, _react2.default.createElement('div', { style: { display: 'flex', alignItems: 'center', height: '100%', width: '100%', flexDirection: 'column' } }, this.topElem !== null && this.topElem, _react2.default.createElement( | ||
_DragList2.default, | ||
@@ -132,3 +132,2 @@ { | ||
animationDuration: this.props.animationDuration, | ||
'class': this.props.class, | ||
topElem: this.innerTopElem, | ||
@@ -135,0 +134,0 @@ bottomElem: this.innerBottomElem, |
{ | ||
"name": "drag-drop-list-react", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "A library that implements drag-drop lists for react.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
121558
1174