first commit
This commit is contained in:
36
frontend/node_modules/rc-table/lib/Cell/index.d.ts
generated
vendored
Normal file
36
frontend/node_modules/rc-table/lib/Cell/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
import * as React from 'react';
|
||||
import type { AlignType, CellEllipsisType, ColumnType, CustomizeComponent, DataIndex, DefaultRecordType, ScopeType } from '../interface';
|
||||
export interface CellProps<RecordType extends DefaultRecordType> {
|
||||
prefixCls?: string;
|
||||
className?: string;
|
||||
record?: RecordType;
|
||||
/** `column` index is the real show rowIndex */
|
||||
index?: number;
|
||||
/** the index of the record. For the render(value, record, renderIndex) */
|
||||
renderIndex?: number;
|
||||
dataIndex?: DataIndex<RecordType>;
|
||||
render?: ColumnType<RecordType>['render'];
|
||||
component?: CustomizeComponent;
|
||||
children?: React.ReactNode;
|
||||
colSpan?: number;
|
||||
rowSpan?: number;
|
||||
scope?: ScopeType;
|
||||
ellipsis?: CellEllipsisType;
|
||||
align?: AlignType;
|
||||
shouldCellUpdate?: (record: RecordType, prevRecord: RecordType) => boolean;
|
||||
fixLeft?: number | false;
|
||||
fixRight?: number | false;
|
||||
firstFixLeft?: boolean;
|
||||
lastFixLeft?: boolean;
|
||||
firstFixRight?: boolean;
|
||||
lastFixRight?: boolean;
|
||||
allColsFixedLeft?: boolean;
|
||||
/** @private Used for `expandable` with nest tree */
|
||||
appendNode?: React.ReactNode;
|
||||
additionalProps?: React.TdHTMLAttributes<HTMLTableCellElement>;
|
||||
rowType?: 'header' | 'body' | 'footer';
|
||||
isSticky?: boolean;
|
||||
}
|
||||
declare function Cell<RecordType>(props: CellProps<RecordType>): React.JSX.Element;
|
||||
declare const _default: typeof Cell;
|
||||
export default _default;
|
||||
Reference in New Issue
Block a user