BodyRow.d.ts 927 B

123456789101112131415161718192021
  1. import type { CustomizeComponent, GetComponentProps, Key, GetRowKey } from '../interface';
  2. export interface BodyRowProps<RecordType> {
  3. record: RecordType;
  4. index: number;
  5. renderIndex: number;
  6. recordKey: Key;
  7. expandedKeys: Set<Key>;
  8. rowComponent: CustomizeComponent;
  9. cellComponent: CustomizeComponent;
  10. customRow: GetComponentProps<RecordType>;
  11. rowExpandable: (record: RecordType) => boolean;
  12. indent?: number;
  13. rowKey: Key;
  14. getRowKey: GetRowKey<RecordType>;
  15. childrenColumnName: string;
  16. }
  17. declare const _default: import("vue").DefineComponent<BodyRowProps<unknown>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<BodyRowProps<unknown>>, {
  18. rowComponent: any;
  19. cellComponent: any;
  20. }>;
  21. export default _default;