UNPKG

stream-chat-react

Version:

React components to create chat conversations or livestream style chat

19 lines (18 loc) 614 B
/// <reference types="react" /> import type { Placement } from '@popperjs/core'; export interface MessageActionsBoxPopperOptions { open: boolean; placement: Placement; referenceElement: HTMLElement | null; } export declare function useMessageActionsBoxPopper<T extends HTMLElement>({ open, placement, referenceElement, }: MessageActionsBoxPopperOptions): { attributes: { [key: string]: { [key: string]: string; } | undefined; }; popperElementRef: import("react").RefObject<T | null>; styles: { [key: string]: import("react").CSSProperties; }; };