Merge pull request #23 from jasonals/patch-2

Make DebugPanel style customizable.
This commit is contained in:
Dan Abramov 2015-07-21 20:33:51 +03:00
commit 53a8c74341

View File

@ -42,7 +42,7 @@ export default class DebugPanel {
render() {
return (
<div style={this.props.getStyle(this.props)}>
<div style={{...this.props.getStyle(this.props), ...this.props.style}}>
{this.props.children}
</div>
);