import marked from 'marked' import classNames from 'classnames' import React, { useState } from 'react' import { ReportTable } from './ReportTable' import { IReportError } from '../report' // ReportError export interface IReportErrorProps { reportError: IReportError } export function ReportError(props: IReportErrorProps) { const { reportError } = props const [isDetailsVisible, setIsDetailsVisible] = useState(false) const [visibleRowsCount, setVisibleRowsCount] = useState(10) const rowPositions = getRowPositions(reportError) return (
The full list of error messages: