@awsui/components-react
Version:
On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en
16 lines • 556 B
TypeScript
import React from 'react';
interface ResizeProps {
currentWidth: number;
minWidth: number;
maxWidth: number;
panelRef: React.RefObject<HTMLDivElement>;
handleRef: React.RefObject<HTMLDivElement>;
onResize: (newWidth: number) => void;
}
export declare function useResize({ currentWidth, minWidth, maxWidth, panelRef, handleRef, onResize }: ResizeProps): {
onKeyDown: (event: React.KeyboardEvent<HTMLElement>) => void;
onPointerDown: () => void;
relativeSize: number;
};
export {};
//# sourceMappingURL=use-resize.d.ts.map