Repository URL to install this package:
|
Version:
2.0.4 ▾
|
import { ReactNode } from 'react';
export interface ErrorRenderProp extends Function {
(props: ErrorProps): ReactNode;
}
export interface ErrorProps {
className?: string;
text?: string;
isVisible?: boolean;
/**
* @alias text | value | children
*/
children?: ReactNode;
/**
* renderProps
*/
renderWrapper?: ErrorRenderProp;
renderError?: ErrorRenderProp;
}