@aplus-frontend/ui
Version:
8 lines (7 loc) • 380 B
TypeScript
import { ShallowRef, VNode, ComputedRef, Ref } from 'vue';
import { ApFormSearchFormPopoverSorterItem } from '../../interface';
export declare const useSorter: (children: ShallowRef<VNode[]>) => {
items: ComputedRef<ApFormSearchFormPopoverSorterItem[]>;
handleClickConfirm: (sortedItems: ApFormSearchFormPopoverSorterItem[]) => void;
sorted: Ref<boolean, boolean>;
};