GoScrobble/web/node_modules/formik/dist/ErrorMessage.d.ts

10 lines
357 B
TypeScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
import * as React from 'react';
export interface ErrorMessageProps {
name: string;
className?: string;
component?: string | React.ComponentType;
children?: (errorMessage: string) => React.ReactNode;
render?: (errorMessage: string) => React.ReactNode;
}
export declare const ErrorMessage: React.ComponentType<ErrorMessageProps>;