@aplus-frontend/ui
Version:
12 lines (11 loc) • 493 B
TypeScript
import { Ref, ComputedRef } from 'vue';
import { ShowCollapsibleIconMode } from '../interface';
import { ItemType } from './useItems';
export type ResizableInfo = {
resizable: boolean;
startCollapsible: boolean;
endCollapsible: boolean;
showStartCollapsibleIcon: ShowCollapsibleIconMode;
showEndCollapsibleIcon: ShowCollapsibleIconMode;
};
export declare const useResizable: (items: Ref<ItemType[]>, pxSizes: Ref<number[]>, isRTL: boolean) => ComputedRef<ResizableInfo[]>;