@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
12 lines (11 loc) • 327 B
TypeScript
import * as React from 'react';
type Config = {
hideByAnchorElement: boolean;
};
export declare const usePopoverState: (config?: Partial<Config>) => {
open: boolean;
handleClick: (event: React.MouseEvent<HTMLElement>) => void;
handleClose: () => void;
anchorEl: HTMLElement | null;
};
export {};