UNPKG

@bothub-chat/ui

Version:

Bothub UI Components

16 lines (15 loc) 597 B
import React from 'react'; import { SetScrollFunction, ScrollbarShadowsProps } from '@/ui/components/scrollbar'; export interface MessagesRef { element: Element | null; setScroll: SetScrollFunction; } export interface MessagesProps extends React.PropsWithChildren { className?: string; scrollButton?: boolean; fullWidth?: boolean; startRef?: (node?: Element | null | undefined) => void; scrollShadows?: ScrollbarShadowsProps; } export declare const Messages: React.ForwardRefExoticComponent<MessagesProps & React.RefAttributes<MessagesRef>>; export * from './context';