import * as React from 'react';
import Cell from './Cell';

type AnalyticsLayoutChildren = (item: any, index: number, rowItemsCount: number) => React.ReactNode;

export interface AnalyticsLayoutProps {
  dataHook?: string;
  className?: string;
  items: any[];
  children: AnalyticsLayoutChildren;
}

export default class AnalyticsLayout extends React.PureComponent<AnalyticsLayoutProps> {
  static Cell: typeof Cell;
}
