InstructorList.jsx 284 Bytes
Newer Older
Zac Wood's avatar
Zac Wood committed
1 2 3 4 5 6 7 8
import React from 'react';
import InstructorCard from 'src/InstructorCard';

export default class InstructorList extends React.Component {
    render() {
        return <div>{this.props.instructors && this.props.instructors.map(i => <InstructorCard instructor={i} />)}</div>;
    }
}