@botonic/react
Version:
Build Chatbots using React
13 lines (12 loc) • 386 B
TypeScript
export function customMessage({ name, component: CustomMessageComponent, defaultProps, errorBoundary: ErrorBoundary, }: {
name: any;
component: any;
defaultProps?: {} | undefined;
errorBoundary?: (({ children }: {
children: any;
}) => any) | undefined;
}): {
(props: any): JSX.Element;
customTypeName: any;
deserialize(msg: any): JSX.Element;
};