mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 16:35:14 +00:00
10 lines
357 B
TypeScript
10 lines
357 B
TypeScript
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>;
|