hongluan-ui
Version:
Hongluan Component Library for Vue 3
12 lines (11 loc) • 493 B
TypeScript
import type { ComponentSize } from 'hongluan-ui/es/constants';
import type { InjectionKey, ComputedRef, WritableComputedRef } from 'vue';
export interface PaginationContext {
currentPage?: WritableComputedRef<number>;
pageCount?: ComputedRef<number>;
disabled?: ComputedRef<boolean>;
size?: ComputedRef<ComponentSize>;
changeEvent?: (val: number) => void;
handleSizeChange?: (val: number) => void;
}
export declare const paginationKey: InjectionKey<PaginationContext>;