Skip to content

Commit 53a8c74

Browse files
committed
Merge pull request #23 from jasonals/patch-2
Make DebugPanel style customizable.
2 parents 69158ec + bc214a6 commit 53a8c74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/react/DebugPanel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default class DebugPanel {
4242

4343
render() {
4444
return (
45-
<div style={this.props.getStyle(this.props)}>
45+
<div style={{...this.props.getStyle(this.props), ...this.props.style}}>
4646
{this.props.children}
4747
</div>
4848
);

0 commit comments

Comments
 (0)