UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

11 lines (10 loc) 395 B
import * as React from 'react'; import { ValidateStatus } from './FormItem'; export interface ErrorListProps { help?: React.ReactNode; helpStatus?: ValidateStatus; errors?: React.ReactNode[]; warnings?: React.ReactNode[]; className?: string; } export default function ErrorList({ help, helpStatus, errors, warnings, className: rootClassName, }: ErrorListProps): JSX.Element;