/// <reference types="react" />
import React from 'react';
export interface DataItem {
    icon?: any;
    text?: any;
    [key: string]: any;
}
export interface GridProps {
    data?: Array<DataItem | undefined>;
    hasLine?: boolean;
    columnNum?: number;
    isCarousel?: boolean;
    carouselMaxRow?: number;
    onClick?: (dataItem: DataItem | undefined, itemIndex: number) => void;
    /** web only */
    renderItem?: (dataItem: DataItem | undefined, itemIndex: number) => React.ReactElement<any>;
    prefixCls?: string;
    className?: string;
    square?: boolean;
    /** rn only **/
    styles?: any;
}
