import React from 'react';
import { PropTypes } from 'prop-types';
import Modal from '../../modal';
import './style.scss';
const InterviewsList = props => (
Interviews ({ props.data.length }) {/* eslint-disable-line */}
View {/* eslint-disable-line */}
Interviews ({ props.data.length })
{ props.data.map(interview => (
// eslint-disable-next-line
-
{ interview.name }
))
}
);
InterviewsList.propTypes = {
isInterviewsListModalOpen: PropTypes.bool.isRequired,
data: PropTypes.arrayOf(PropTypes.node).isRequired,
toggleSingleInterview: PropTypes.func.isRequired,
toggleInterviewsListModal: PropTypes.func.isRequired,
};
export default InterviewsList;