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 =>
(-
{ interview.name }
))
}
);
InterviewsList.propTypes = {
isInterviewsListModalOpen: PropTypes.bool.isRequired,
data: PropTypes.array.isRequired,
toggleSingleInterview: PropTypes.func.isRequired,
toggleInterviewsListModal: PropTypes.func.isRequired,
}
export default InterviewsList;