UNPKG

stream-chat-react

Version:

React components to create chat conversations or livestream style chat

15 lines (14 loc) 490 B
import React from 'react'; import type { ActionHandlerReturnType } from '../Message/hooks/useActionHandler'; export type MMLProps = { /** MML source string */ source: string; /** Submit handler for mml actions */ actionHandler?: ActionHandlerReturnType; /** Align MML components to left/right, defaults to right */ align?: 'left' | 'right'; }; /** * A wrapper component around MML-React library */ export declare const MML: (props: MMLProps) => React.JSX.Element;