@fesjs/fes-design
Version:
fes-design for PC
25 lines (24 loc) • 718 B
TypeScript
import { type Ref, type SetupContext } from 'vue';
import type { TableProps } from './table';
import type { RowType } from './interface';
import type { ColumnInst } from './column';
declare const _default: ({ props, ctx, columns, getRowKey, }: {
props: TableProps;
ctx: SetupContext;
columns: Ref<ColumnInst[]>;
getRowKey: ({ row }: {
row: RowType;
}) => string | number | RowType;
}) => {
expandColumn: import("vue").ComputedRef<ColumnInst>;
isExpandOpened: ({ row }: {
row: RowType;
}) => boolean;
toggleRowExpend: ({ row }: {
row: RowType;
}) => boolean;
handleExpand: ({ row }: {
row: RowType;
}) => void;
};
export default _default;