import Card from 'react-bootstrap/Card'; import ListGroup from 'react-bootstrap/ListGroup'; import { ErrorListProps, FormContextType, RJSFSchema, StrictRJSFSchema, TranslatableString } from '@rjsf/utils'; export default function ErrorList({ errors, registry, }: ErrorListProps) { const { translateString } = registry; return ( {translateString(TranslatableString.ErrorsLabel)} {errors.map((error, i: number) => { return ( {error.stack} ); })} ); }