UNPKG

@vuesax-alpha/nightly

Version:
11 lines (10 loc) 460 B
import type { ComputedRef, InjectionKey, Ref } from 'vue'; import type { Arrayable } from 'vuesax-alpha/es/utils'; import type { TableModelValueType } from 'vuesax-alpha/es/components/table'; export declare type TableContext = { colspan: Ref<number>; modelValue: ComputedRef<Arrayable<TableModelValueType>>; multiple: ComputedRef<boolean>; selected: (data: unknown) => void; }; export declare const tableContextKey: InjectionKey<TableContext>;