/** * * This file may have been modified by Bytedance Inc. (“Bytedance Inc.'s Modifications”). * All Bytedance Inc.'s Modifications are Copyright (year) Bytedance Inc.. * * This source code is licensed under the Apache license. * See LICENSE file in the project root for license information. * */ import * as React from 'react'; import type { ValidateStatus } from './FormItem'; export interface ErrorListProps { help?: React.ReactNode; helpStatus?: ValidateStatus; errors?: React.ReactNode[]; warnings?: React.ReactNode[]; className?: string; onVisibleChanged?: (visible: boolean) => void; } export default function ErrorList({ help, helpStatus, errors, warnings, className: rootClassName, onVisibleChanged, }: ErrorListProps): JSX.Element;