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.
14 lines
650 B
14 lines
650 B
import type { TableV2Props } from '../table';
|
|
import type { KeyType } from '../types';
|
|
import type { UseRowReturn } from './use-row';
|
|
declare type UseDataProps = {
|
|
expandedRowKeys: UseRowReturn['expandedRowKeys'];
|
|
lastRenderedRowIndex: UseRowReturn['lastRenderedRowIndex'];
|
|
resetAfterIndex: UseRowReturn['resetAfterIndex'];
|
|
};
|
|
export declare const useData: (props: TableV2Props, { expandedRowKeys, lastRenderedRowIndex, resetAfterIndex }: UseDataProps) => {
|
|
data: import("vue").ComputedRef<any[]>;
|
|
depthMap: import("vue").Ref<Record<KeyType, number>>;
|
|
};
|
|
export declare type UseDataReturn = ReturnType<typeof useData>;
|
|
export {};
|
|
|