Skip to content

Commit bd11464

Browse files
committed
pass customConfig to unPackPlotProps
1 parent 2d32bd6 commit bd11464

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/EditorControls.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ class EditorControls extends Component {
5959
mapBoxAccess: this.props.mapBoxAccess,
6060
fontOptions: this.props.fontOptions,
6161
chartHelp: this.props.chartHelp,
62+
customConfig: this.props.customConfig,
6263
};
6364
}
6465

@@ -391,6 +392,7 @@ EditorControls.propTypes = {
391392
mapBoxAccess: PropTypes.bool,
392393
fontOptions: PropTypes.array,
393394
chartHelp: PropTypes.object,
395+
customConfig: PropTypes.object,
394396
};
395397

396398
EditorControls.defaultProps = {
@@ -432,6 +434,7 @@ EditorControls.childContextTypes = {
432434
mapBoxAccess: PropTypes.bool,
433435
fontOptions: PropTypes.array,
434436
chartHelp: PropTypes.object,
437+
customConfig: PropTypes.object,
435438
};
436439

437440
export default EditorControls;

src/lib/connectToContainer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export const containerConnectedContextTypes = {
1818
plotly: PropTypes.object,
1919
updateContainer: PropTypes.func,
2020
traceIndexes: PropTypes.array,
21+
customConfig: PropTypes.object,
2122
};
2223

2324
export default function connectToContainer(WrappedComponent, config = {}) {

0 commit comments

Comments
 (0)