File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,13 @@ module.exports = class extends React.Component {
1111 static propTypes = {
1212 options : React . PropTypes . object ,
1313 onChange : React . PropTypes . func ,
14- tag : React . PropTypes . string
14+ tag : React . PropTypes . string ,
15+ style : React . PropTypes . object
1516 } ;
1617 static defaultProps = {
1718 options : { } ,
18- tag : 'div'
19+ tag : 'div' ,
20+ style : { }
1921 } ;
2022 sortable = null ;
2123
@@ -79,7 +81,7 @@ module.exports = class extends React.Component {
7981 }
8082 }
8183 render ( ) {
82- const { children, className, tag } = this . props ;
83- return React . DOM [ tag ] ( { className } , children ) ;
84+ const { children, className, tag, style } = this . props ;
85+ return React . DOM [ tag ] ( { className, style } , children ) ;
8486 }
8587}
You can’t perform that action at this time.
0 commit comments