SearchList.jsx 396 Bytes
Newer Older
Zac Wood's avatar
Zac Wood committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
import React from 'react';
import CourseList from 'src/CourseList';
import InstructorList from 'src/InstructorList';

export default class SearchList extends React.Component {
    render() {
        return (
            <div>
                <InstructorList instructors={this.props.instructors} />
                <CourseList courses={this.props.courses} />
            </div>
        );
    }
}