UNPKG

@alicloud/cloud-charts

Version:

![](https://img.shields.io/npm/v/@alicloud/cloud-charts?color=%23ff8200)

23 lines (22 loc) 727 B
import * as React from 'react'; import Locale, { LocaleItem } from '../locales'; import './index.scss'; export interface WplaceholderProps { className?: string; style?: React.CSSProperties; width?: string | number; height?: string | number; loading?: boolean; error?: boolean; noData?: boolean; empty?: boolean; locale?: LocaleItem; language?: keyof typeof Locale; } export default class Wplaceholder extends React.Component<WplaceholderProps> { static displayName: string; static contextType: any; constructor(props: WplaceholderProps); renderText(loading: boolean, error: boolean, noData: boolean, empty: boolean): React.JSX.Element; render(): React.JSX.Element; }