usxeditor
Version:
USX editor react component.
17 lines (16 loc) • 384 B
TypeScript
import React from 'react';
declare type Props = {
usx: string;
children?: any;
};
declare type State = {
hasError: boolean;
};
export default class ErrorBoundary extends React.PureComponent<Props, State> {
constructor(props: Props);
static getDerivedStateFromError(): {
hasError: boolean;
};
render(): React.ReactNode;
}
export {};