UNPKG

@aliretail/react-materials-components

Version:
21 lines (20 loc) 548 B
import * as React from 'react'; import * as PropTypes from 'prop-types'; import { IDashboardItem } from './type'; declare type TProps = typeof Dashboard.defaultProps & { dataSource: IDashboardItem[]; isLoading: boolean; }; interface TState { } declare class Dashboard extends React.Component<TProps, TState> { static propTypes: { dataSource: PropTypes.Validator<object[]>; }; static defaultProps: { data: any[]; }; getSpan: (len: number) => string; render(): JSX.Element; } export default Dashboard;