export default class InlineError extends React.PureComponent { static propTypes: { error: PropTypes.Requireable; }; constructor(props: any); constructor(props: any, context: any); render(): JSX.Element; } import React from "react"; import PropTypes from "prop-types";