mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-10 19:56:54 +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() {
|
||||
return (
|
||||
<div style={this.props.getStyle(this.props)}>
|
||||
<div style={{...this.props.getStyle(this.props), ...this.props.style}}>
|
||||
{this.props.children}
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user