antd
Version:
An enterprise-class UI design language and React components implementation
11 lines (10 loc) • 438 B
TypeScript
import type { ShowCollapsibleIconMode } from '../SplitBar';
import type { ItemType } from './useItems';
export type ResizableInfo = {
resizable: boolean;
startCollapsible: boolean;
endCollapsible: boolean;
showStartCollapsibleIcon: ShowCollapsibleIconMode;
showEndCollapsibleIcon: ShowCollapsibleIconMode;
};
export default function useResizable(items: ItemType[], pxSizes: number[], isRTL: boolean): ResizableInfo[];