diff --git a/packages/dash-core-components/src/components/Graph.react.js b/packages/dash-core-components/src/components/Graph.react.js index 35565c95ce..eb8031413b 100644 --- a/packages/dash-core-components/src/components/Graph.react.js +++ b/packages/dash-core-components/src/components/Graph.react.js @@ -115,8 +115,6 @@ const ControlledPlotlyGraph = memo(props => { ); }); -ControlledPlotlyGraph.propTypes = PropTypes.any; - PlotlyGraph.propTypes = { ...privatePropTypes, @@ -515,6 +513,8 @@ PlotlyGraph.propTypes = { }), }; +ControlledPlotlyGraph.propTypes = PlotlyGraph.propTypes; + PlotlyGraph.defaultProps = { ...privateDefaultProps,