1 | import type { IColumn } from './DetailsList.types';
|
2 | import type { ICellStyleProps, IDetailsRowStyles } from './DetailsRow.types';
|
3 | import type { IDetailsListProps } from './DetailsList';
|
4 | import type { IDetailsRowProps } from './DetailsRow';
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | export declare type IOverrideColumnRenderProps = Pick<IDetailsListProps, 'onRenderItemColumn' | 'getCellValueKey' | 'onRenderField'> & Pick<IDetailsRowProps, 'cellsByColumn'>;
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 | export interface IDetailsRowFieldsProps extends IOverrideColumnRenderProps {
|
17 | |
18 |
|
19 |
|
20 | item: any;
|
21 | |
22 |
|
23 |
|
24 | itemIndex: number;
|
25 | |
26 |
|
27 |
|
28 | columnStartIndex: number;
|
29 | |
30 |
|
31 |
|
32 | columns: IColumn[];
|
33 | |
34 |
|
35 |
|
36 | compact?: boolean;
|
37 | |
38 |
|
39 |
|
40 | rowClassNames: {
|
41 | [k in keyof Pick<IDetailsRowStyles, 'isMultiline' | 'isRowHeader' | 'cell' | 'cellAnimation' | 'cellPadded' | 'cellUnpadded' | 'fields'>]: string;
|
42 | };
|
43 | |
44 |
|
45 |
|
46 | isSelected?: boolean;
|
47 | |
48 |
|
49 |
|
50 | rowHeaderId?: string;
|
51 | |
52 |
|
53 |
|
54 | cellStyleProps?: ICellStyleProps;
|
55 | enableUpdateAnimations?: boolean;
|
56 | }
|