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 {
11
11
static propTypes = {
12
12
options : React . PropTypes . object ,
13
13
onChange : React . PropTypes . func ,
14
- tag : React . PropTypes . string
14
+ tag : React . PropTypes . string ,
15
+ style : React . PropTypes . object
15
16
} ;
16
17
static defaultProps = {
17
18
options : { } ,
18
- tag : 'div'
19
+ tag : 'div' ,
20
+ style : { }
19
21
} ;
20
22
sortable = null ;
21
23
@@ -79,7 +81,7 @@ module.exports = class extends React.Component {
79
81
}
80
82
}
81
83
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 ) ;
84
86
}
85
87
}
You can’t perform that action at this time.
0 commit comments