stream-chat-react
Version:
React components to create chat conversations or livestream style chat
14 lines • 498 B
TypeScript
import type { ActionHandlerReturnType } from '../Message/hooks/useActionHandler';
export declare 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) => JSX.Element;
//# sourceMappingURL=MML.d.ts.map