react-native-barcode-aspen
Version:
react-native-barcode-expo with updates for aspen
15 lines (14 loc) • 369 B
TypeScript
import React from 'react';
declare class ErrorBoundary extends React.Component<{
children: any;
}, {
hasError: boolean;
}> {
constructor(props: any);
static getDerivedStateFromError(error: any): {
hasError: boolean;
};
componentDidCatch(error: any, errorInfo: any): void;
render(): any;
}
export default ErrorBoundary;