@plteam/chat-ui
Version:
CUI Kit is a free and open-source library for creating AI assistant chat interfaces, built with React, Material UI, and TypeScript
13 lines (12 loc) • 437 B
TypeScript
import { ObservedSize, ResizeObserverBoxOptions, RoundingFunction } from "use-resize-observer";
type Options = {
box?: ResizeObserverBoxOptions;
round?: RoundingFunction;
};
declare const _default: (waitMs: number, options?: Options) => {
lastSize: ObservedSize | undefined;
width?: number | undefined;
height?: number | undefined;
ref: (instance: Element | null) => void;
};
export default _default;