@csegames/camelot-unchained
Version:
Camelot Unchained Client Library
20 lines (19 loc) • 692 B
TypeScript
/// <reference types="react" />
import * as React from 'react';
import { StyleDeclaration } from 'aphrodite';
export interface GridStatsStyles extends StyleDeclaration {
statContainer: React.CSSProperties;
statListSection: React.CSSProperties;
listItemContainer: React.CSSProperties;
}
export interface GridStatsProps {
styles?: Partial<GridStatsStyles>;
sectionTitle?: string;
renderHeaderItem?: () => JSX.Element;
howManyGrids: number;
searchValue: string;
statArray: any[];
renderListItem: (item: any, index: number) => JSX.Element;
shouldRenderEmptyListItems?: boolean;
}
export declare const GridStats: (props: GridStatsProps) => JSX.Element;