UNPKG

general-assistant

Version:

General Assistant components

18 lines (17 loc) 446 B
import { Component } from 'react'; import { MessageProps } from 'datastellar-chatui'; export default class ErrorBoundary extends Component<{ children: any; hasError?: boolean; data?: MessageProps; t: any; }, { hasError: boolean; }> { constructor(props: any); static getDerivedStateFromError(error: any): { hasError: boolean; }; componentDidCatch(error: any, errorInfo: any): void; render(): any; }