UNPKG

@fesjs/fes-design

Version:
25 lines (24 loc) 718 B
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;