import React from 'react'; import { propsType as balloonIconPropsType } from '../balloon/balloonIcon'; interface tip extends balloonIconPropsType { tipContext: React.ReactNode; } interface data { /**列宽度 */ span?: number; /**名称 */ name: string; /**内容 */ value: React.ReactNode; /**是否可见 */ visible?: boolean; /**气泡提示 */ tip?: string | tip; } interface propTypes { /** 数据源 */ dataSource: data[]; /** 布局比例 */ layout?: any; /** 是否可见 */ visible?: boolean; /** 所显示的语言 */ lang?: string; maxLine?: number; } interface defaultType { lang: string; maxLine: number; layout: { nameWidth: number; }; } export default class IotGrid extends React.Component { static defaultProps: defaultType; renderContext: (value: any, tip: any, maxLine: any) => any; renderCol: (item: any, index: any, maxLine: any) => JSX.Element | null; render(): JSX.Element | null; } export {};