Components

ModuleHousing

<ModuleHousing props />

Constructor

# <ModuleHousing props />

This component renders the page that students see when they access a module. Including a video player, module listing, reviews of the module etc. This component also determines weather the user is enrolled in the module or not and displays the appropriate interface.

PropTypes:
Name Type Required Description Default
props object Yes The prop object that comes from `react-router-dom` that allows us to redirect users and check their url location

View Source components/programs/modules/ModuleHousing.js, line 25

The individual module's page

JSX.Element