vue-admin-core
Version:
A Component Library for Vue 3
14 lines (13 loc) • 539 B
TypeScript
import { ElSelect, ElTable, ElPagination } from "element-plus";
import type { Ref } from "vue";
export declare const useSelect: (props: any, { attrs, emit }: {
attrs: any;
emit: any;
}, { key, filter, select, currentPage, pagination, table }: {
select: Ref<InstanceType<typeof ElSelect> | undefined>;
table: Ref<InstanceType<typeof ElTable> | undefined>;
pagination: Ref<InstanceType<typeof ElPagination> | undefined>;
key: Ref<string>;
filter: (query: string) => void;
currentPage: Ref<number>;
}) => any;