UNPKG

@gooddata/react-components

Version:

GoodData.UI - A powerful JavaScript library for building analytical applications

43 lines (42 loc) 1.42 kB
import * as React from "react"; import * as PropTypes from "prop-types"; import { Requireable } from "prop-types"; export { Requireable }; export declare const LoadingPropTypes: { className: PropTypes.Requireable<any>; color: PropTypes.Requireable<any>; speed: PropTypes.Requireable<any>; inline: PropTypes.Requireable<any>; height: PropTypes.Requireable<any>; width: PropTypes.Requireable<any>; imageHeight: PropTypes.Requireable<any>; imageWidth: PropTypes.Requireable<any>; }; export interface ILoadingProps { className?: string; color?: string; speed?: number; inline?: boolean; height?: any; width?: any; imageHeight?: any; imageWidth?: any; } /** * [LoadingComponent](http://sdk.gooddata.com/gooddata-ui/docs/loading_component.html) * is a component that renders a default loading indicator */ export declare class LoadingComponent extends React.Component<ILoadingProps, null> { static defaultProps: Partial<ILoadingProps>; static propTypes: { className: PropTypes.Requireable<any>; color: PropTypes.Requireable<any>; speed: PropTypes.Requireable<any>; inline: PropTypes.Requireable<any>; height: PropTypes.Requireable<any>; width: PropTypes.Requireable<any>; imageHeight: PropTypes.Requireable<any>; imageWidth: PropTypes.Requireable<any>; }; render(): JSX.Element; }