@aplus-frontend/antdv
Version:
Vue basic component library maintained based on ant-design-vue
10 lines (9 loc) • 400 B
TypeScript
import type { InjectionKey } from 'vue';
import type { Key } from '../interface';
interface ResizeContextProps {
onColumnResize: (columnKey: Key, width: number) => void;
}
export declare const ResizeContextKey: InjectionKey<ResizeContextProps>;
export declare const useProvideResize: (props: ResizeContextProps) => void;
export declare const useInjectResize: () => ResizeContextProps;
export {};