wurmlab/sequenceserver

View on GitHub
public/js/report/alignment_results.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import ReportHeader from './report_header';
import Hits from '../hits';

const AlignmentResults = (props) => {
    const renderContent = () => (
        <div>
            {props.state.results}
            <Hits
                {...props}
                componentFinishedUpdating={(_) => props.componentFinishedUpdating(_)}
            />
        </div>
    );

    return <ReportHeader name="Alignment Results" renderContent={renderContent} />;
};

export default AlignmentResults;