Skip to content

Commit c85f7fd

Browse files
committed
allow PlotlyEditor to also have the customConfig prop
1 parent 9094c50 commit c85f7fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/PlotlyEditor.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ class PlotlyEditor extends Component {
4040
mapBoxAccess={Boolean(this.props.config && this.props.config.mapboxAccessToken)}
4141
fontOptions={this.props.fontOptions}
4242
chartHelp={this.props.chartHelp}
43+
customConfig={this.props.customConfig}
4344
>
4445
{this.props.children}
4546
</EditorControls>
@@ -91,6 +92,7 @@ PlotlyEditor.propTypes = {
9192
glByDefault: PropTypes.bool,
9293
fontOptions: PropTypes.array,
9394
chartHelp: PropTypes.object,
95+
customConfig: PropTypes.object,
9496
};
9597

9698
PlotlyEditor.defaultProps = {

0 commit comments

Comments
 (0)