diff --git a/src/components/molecules/NewCourseCard/NewCourseCard.tsx b/src/components/molecules/NewCourseCard/NewCourseCard.tsx index ae4839ca..ad155251 100644 --- a/src/components/molecules/NewCourseCard/NewCourseCard.tsx +++ b/src/components/molecules/NewCourseCard/NewCourseCard.tsx @@ -52,6 +52,7 @@ export interface CourseCardProps price?: ReactNode; actions?: ReactNode; disabled?: boolean; + footer?: ReactNode; } const StyledCourseCard = styled("div")` @@ -240,6 +241,7 @@ export const NewCourseCard: React.FC = (props) => { progress, actions, disabled, + footer, } = props; const { t } = useTranslation(); @@ -319,13 +321,14 @@ export const NewCourseCard: React.FC = (props) => { ) )} -
{title}
+
{title}
{" "} +
{price}
{actions && (
{actions}
)} -
{price}
+ {footer && } {disabled && (