Files
frontend-app-learning/src/plugin-slots/CourseExitPluginSlots/CourseRecommendationsSlot/index.tsx
Jansen Kantor b1ee8a3713 feat: add course end dashboard plugin slots (#1658)
* 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
2025-05-08 14:23:41 -04:00

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>
);