oxd/types/composables/useCardtable.d.ts

13 lines
511 B
TypeScript
Raw Normal View History

2023-05-02 09:36:43 +08:00
import type { ResponsiveState } from './useResponsive';
import { type InjectionKey } from 'vue';
export declare type TableProps = {
[key: string]: any;
};
export declare const tablePropsKey: InjectionKey<TableProps>;
export declare const tableScreenStateKey: InjectionKey<ResponsiveState>;
export declare const useProvideTableProps: (props: TableProps, screenState: ResponsiveState) => void;
export declare const useInjectTableProps: () => {
tableProps: TableProps;
screenState: ResponsiveState;
};