mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-22 01:26:48 +03:00
Make DebugPanel style customizable.
With this you can pass style to DebugPanel component. ```js <DebugPanel style={{maxWidth: '50%'}}> </DebugPanel> ```
This commit is contained in:
parent
b676d446f8
commit
bc214a6691
|
@ -42,7 +42,7 @@ export default class DebugPanel {
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<div style={this.props.getStyle(this.props)}>
|
<div style={{...this.props.getStyle(this.props), ...this.props.style}}>
|
||||||
{this.props.children}
|
{this.props.children}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user