import { FC } from 'react'; import { DataListHeaderRow } from './DataListHeaderRow'; import { DataListHeaderCell, DataListHeaderCellType } from './DataListHeaderCell'; import { DataListRow, DataListRowType } from './DataListRow'; import { DataListCell } from './DataListCell'; interface DataListItem { [fieldName: string]: any | undefined; } interface DataListPropsStrict { header: DataListHeaderCellType[] | DataListHeaderCellType; children?: DataListRowType[] | DataListRowType; items?: DataListItem[]; className?: string; spacing?: 1 | 2; simple?: boolean; } interface DataListProps extends DataListPropsStrict { /** Unstrict Props */ [propName: string]: any; } interface DataList extends FC { HeaderRow: typeof DataListHeaderRow; HeaderCell: typeof DataListHeaderCell; Row: typeof DataListRow; Cell: typeof DataListCell; } export declare const DataList: DataList; export {};