rehance-forms
Version:
Form utilities for React
17 lines (16 loc) • 487 B
TypeScript
import * as React from "react";
import { ScopeContext } from "./ScopeContext";
export declare type ErrorOutputProps = React.HtmlHTMLAttributes<HTMLSpanElement> & {
name: string;
alwaysShow?: boolean;
};
export declare class ErrorOutput extends React.PureComponent<ErrorOutputProps> {
/**
* Render the content error output content.
*/
renderContent: (scope: ScopeContext) => JSX.Element;
/**
* Render the component.
*/
render(): JSX.Element;
}