diff --git a/frontend/src/metabase/visualizations/components/Visualization.jsx b/frontend/src/metabase/visualizations/components/Visualization.jsx index 79a6813f8c4158c94f74e2db1de5b15d1eda3fbc..22786dbbe6d8fc09a7faaa98810131087b74a94d 100644 --- a/frontend/src/metabase/visualizations/components/Visualization.jsx +++ b/frontend/src/metabase/visualizations/components/Visualization.jsx @@ -1,3 +1,5 @@ +/* eslint "react/prop-types": "warn" */ + import React, { Component, PropTypes } from "react"; import ExplicitSize from "metabase/components/ExplicitSize.jsx"; @@ -36,9 +38,31 @@ export default class Visualization extends Component { static propTypes = { series: PropTypes.array.isRequired, + className: PropTypes.string, + isDashboard: PropTypes.bool, isEditing: PropTypes.bool, + actionButtons: PropTypes.node, + + // errors + error: PropTypes.string, + errorIcon: PropTypes.string, + + // slow card warnings + isSlow: PropTypes.bool, + expectedDuration: PropTypes.number, + + // injected by ExplicitSize + width: PropTypes.number, + height: PropTypes.number, + + // settings overrides from settings panel + settings: PropTypes.object, + + // used for showing content in place of visualization, e.x. dashcard filter mapping + replacementContent: PropTypes.node, + // used by TableInteractive setSortFn: PropTypes.func, cellIsClickableFn: PropTypes.func,