import React from "react"; import { TextReducerProps } from "../TextReducer/TextReducer"; import { ChatContentProps } from "./ChatContent"; export interface ChatContentCollapsedProps { children: React.ReactElement; /** * Set this to `false` if the compoment should initally start in an expanded state. */ collapsed?: boolean; /** * Use this to set extra `TextReducer` properties. * This is used to create the collapsed variant of the given content. */ textReducerProps?: Omit; /** * Text for collapse button. */ textCollapse?: string; /** * Text for expand button. */ textExpand?: string; } /** * Adds an auto collapsing feature for convenience to `ChatContent`. */ export declare const ChatContentCollapsed: ({ children, collapsed, textReducerProps, textCollapse, textExpand, }: ChatContentCollapsedProps) => React.ReactElement>; export default ChatContentCollapsed;