You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
805 B
26 lines
805 B
import * as React from 'react';
|
|
import { CustomizeComponent, GetComponentProps, Key, GetRowKey } from '../interface';
|
|
export interface BodyRowProps<RecordType> {
|
|
record: RecordType;
|
|
index: number;
|
|
className?: string;
|
|
style?: React.CSSProperties;
|
|
recordKey: Key;
|
|
expandedKeys: Set<Key>;
|
|
rowComponent: CustomizeComponent;
|
|
cellComponent: CustomizeComponent;
|
|
onRow: GetComponentProps<RecordType>;
|
|
rowExpandable: (record: RecordType) => boolean;
|
|
indent?: number;
|
|
rowKey: React.Key;
|
|
getRowKey: GetRowKey<RecordType>;
|
|
childrenColumnName: string;
|
|
}
|
|
declare function BodyRow<RecordType extends {
|
|
children?: RecordType[];
|
|
}>(props: BodyRowProps<RecordType>): JSX.Element;
|
|
declare namespace BodyRow {
|
|
var displayName: string;
|
|
}
|
|
export default BodyRow;
|