UNPKG

apphouse

Version:

Component library for React that uses observable state management and theme-able components.

25 lines (24 loc) 575 B
import { CSSProperties } from 'glamor'; import React from 'react'; export interface ChatBubbleStyles { container?: CSSProperties; content?: CSSProperties; right?: CSSProperties; left?: CSSProperties; } export interface ChatBubbleProps { /** * The message content */ children: React.ReactNode; /** * @default "right" */ direction?: 'left' | 'right'; /** * style overwrites */ styleOverwrites?: ChatBubbleStyles; surfaceBackground?: string; } export declare const ChatBubble: React.FC<ChatBubbleProps>;