We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51e1f8b commit e49e242Copy full SHA for e49e242
src/factory.js
@@ -265,6 +265,7 @@ export default function plotComponentFactory(Plotly) {
265
render() {
266
return (
267
<div
268
+ id={this.props.divId}
269
style={this.props.style}
270
ref={this.getRef}
271
className={this.props.className}
@@ -288,6 +289,7 @@ export default function plotComponentFactory(Plotly) {
288
289
style: PropTypes.object,
290
className: PropTypes.string,
291
useResizeHandler: PropTypes.bool,
292
+ divId: PropTypes.string,
293
};
294
295
for (let i = 0; i < eventNames.length; i++) {
0 commit comments