* feat: add additional course end plugin slots * fix: bring plugin slot names in line with new naming scheme * refactor: change plugin files to tsx,remove propTypes * fixup! refactor: change plugin files to tsx,remove propTypes * fixup! fixup! refactor: change plugin files to tsx,remove propTypes * fixup! fixup! fixup! refactor: change plugin files to tsx,remove propTypes * fix: accidentally committed test code * fix: plugin-slot fixes * chore: add ENTERPRISE_LEARNER_PORTAL_URL env var
16 lines
486 B
TypeScript
16 lines
486 B
TypeScript
import { PluginSlot } from '@openedx/frontend-plugin-framework';
|
|
import CourseRecommendations from '../../../courseware/course/course-exit/CourseRecommendations';
|
|
|
|
interface Props {
|
|
variant: string;
|
|
}
|
|
|
|
export const CourseRecommendationsSlot: React.FC<Props> = ({ variant }: Props) => (
|
|
<PluginSlot
|
|
id="org.openedx.frontend.learning.course_recommendations.v1"
|
|
idAliases={['course_recommendations_slot']}
|
|
>
|
|
<CourseRecommendations variant={variant} />
|
|
</PluginSlot>
|
|
);
|