import classNames from 'classnames';
import { PropTypes } from 'react';
const propTypes = {
    children: PropTypes.node.isRequired,
    focused: PropTypes.bool,
    prNeedsWork: PropTypes.bool,
};

const PullRequestRow = props => {
    return <tr className={classNames('pull-request-row', { focused: props.focused, prNeedsWork: props.prNeedsWork })}>{props.children}</tr>;
};

PullRequestRow.propTypes = propTypes;

export default PullRequestRow;
