UNPKG

stream-chat-react

Version:

React components to create chat conversations or livestream style chat

15 lines (14 loc) 498 B
import type { PropsWithChildren } from 'react'; import React from 'react'; import type { Placement } from '@popperjs/core'; type DropdownContextValue = { close(): void; }; export declare const useDropdownContext: () => DropdownContextValue; export type DropdownProps = PropsWithChildren<{ className?: string; openButtonProps?: React.HTMLAttributes<HTMLButtonElement>; placement?: Placement; }>; export declare const Dropdown: (props: DropdownProps) => React.JSX.Element; export {};