@gooddata/react-components
Version:
GoodData.UI - A powerful JavaScript library for building analytical applications
22 lines (19 loc) • 702 B
text/typescript
// (C) 2007-2018 GoodData Corporation
import * as PropTypes from "prop-types";
import {
AfmPropTypesShape,
ResultSpecPropTypesShape,
} from "../components/visualizations/proptypes/execution";
import { EventsPropTypes } from "./Events";
import { Requireable } from "prop-types"; // tslint:disable-line:no-duplicate-imports
export { Requireable };
export const ExecutePropType = {
...EventsPropTypes,
projectId: PropTypes.string.isRequired,
afm: AfmPropTypesShape.isRequired,
resultSpec: ResultSpecPropTypesShape,
children: PropTypes.func.isRequired,
LoadingComponent: PropTypes.func,
ErrorComponent: PropTypes.func,
telemetryComponentName: PropTypes.string,
};