renderGridTable()

in src/app/AthenaNetCore/AthenaNetCore.WebApp/ClientApp/src/components/CovidTestingByState.js [50:81]


    renderGridTable(covidTestingResults) {
        return (
            <table className='table table-striped' aria-labelledby="tableLabel">
                <thead>
                    <tr>
                        <th>Date</th>
                        <th>State</th>
                        <th>Positive</th>
                        <th>Negative</th>
                        <th>Pending</th>
                        <th>Hospitalized</th>
                        <th>Death</th>
                        <th>Positive Increase</th>
                    </tr>
                </thead>
                <tbody>
                    {covidTestingResults.map(item =>
                        <tr key={item.date + item.state}>
                            <td>{item.date}</td>
                            <td>{item.state}</td>
                            <td>{item.positive}</td>
                            <td>{item.negative}</td>
                            <td>{item.pending}</td>
                            <td>{item.hospitalized}</td>
                            <td>{item.death}</td>
                            <td>{item.positiveincrease}</td>
                        </tr>
                    )}
                </tbody>
            </table>
        );
    }