@tinacms/toolkit
Version:
Tina is a lightweight but powerful toolkit for creating a site editing ui with javascript components. Tina surfaces superpowers for dev’s to create, expand on and customize a simple yet intuitive ui for editing content.
27 lines (23 loc) • 534 B
TypeScript
/**
*/
import * as React from 'react';
export declare class TinaErrorBoundary extends React.Component<{
id: string;
}, {
hasError: boolean;
}> {
constructor(props: any);
static getDerivedStateFromError(_error: any): {
hasError: boolean;
};
componentDidCatch(error: any, errorInfo: any): void;
render(): React.ReactNode;
}
export declare class CMSRecoveryBoundary extends React.Component<{
initialCMS: any;
}, {
hasError: true;
}> {
private initialCMS;
constructor(props: any);
}