UNPKG

@alicloud/cloud-charts

Version:

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

42 lines (41 loc) 1.45 kB
import * as React from 'react'; import { MobileProps } from '../common/platform'; import './index.scss'; interface WcontainerProps extends MobileProps { className?: string; style?: React.CSSProperties; width?: string | number; height?: string | number; arrange?: 'normal' | 'cross'; title?: React.ReactNode; titleBorder?: boolean; operation?: React.ReactNode; titleStyle?: React.CSSProperties; contentStyle?: React.CSSProperties; fullContent?: boolean; catchError?: boolean; onError?(error: Error, info: React.ErrorInfo): boolean | void; } interface WcontainerState { criticalError?: Error; } declare class Wcontainer extends React.Component<WcontainerProps, WcontainerState> { static displayName: string; static defaultProps: { arrange: string; height: string; operation: string; titleBorder: boolean; catchError: boolean; }; static divider: any; static combiner: string; constructor(props: WcontainerProps); renderTitle(title: React.ReactNode, titleBorder: boolean, operation: React.ReactNode, titleStyle: React.CSSProperties): JSX.Element; renderMainNormal(contentStyle: React.CSSProperties, fullContent: boolean): JSX.Element; renderMainCross(contentStyle: React.CSSProperties): JSX.Element; renderError(): JSX.Element; container: HTMLDivElement; render(): JSX.Element; } export default Wcontainer;