useResizable.d.ts 438 B

12345678910
  1. import type { ShowCollapsibleIconMode } from '../SplitBar';
  2. import type { ItemType } from './useItems';
  3. export type ResizableInfo = {
  4. resizable: boolean;
  5. startCollapsible: boolean;
  6. endCollapsible: boolean;
  7. showStartCollapsibleIcon: ShowCollapsibleIconMode;
  8. showEndCollapsibleIcon: ShowCollapsibleIconMode;
  9. };
  10. export default function useResizable(items: ItemType[], pxSizes: number[], isRTL: boolean): ResizableInfo[];