import React from 'react';
import PropTypes from 'prop-types';
import StudyListTableRow from './StudyListTableRow';
const StudyListTable = ({ tableDataSource }) => {
return (
{tableDataSource.map((tableData, i) => {
return ;
})}
);
};
StudyListTable.propTypes = {
tableDataSource: PropTypes.arrayOf(
PropTypes.shape({
row: PropTypes.array.isRequired,
expandedContent: PropTypes.node.isRequired,
onClickRow: PropTypes.func.isRequired,
isExpanded: PropTypes.bool.isRequired,
})
),
};
export default StudyListTable;