We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e9d794 commit f399d6eCopy full SHA for f399d6e
src/simple-modal.js
@@ -62,8 +62,8 @@ export default class Modal extends React.Component{
62
}
63
64
return (
65
- <div {...this.props} style={modal || this.props.style} onClick={this.hideOnOuterClick} data-modal="true">
66
- <div style={container}>
+ <div {...this.props} style={Object.assign({},modal,this.props.style)} onClick={this.hideOnOuterClick} data-modal="true">
+ <div style={Object.assign({},container,this.props.containerStyle)}>
67
{this.props.children}
68
</div>
69
0 commit comments