UNPKG

@selfcommunity/react-templates

Version:

React Templates Components to integrate a Community created with SelfCommunity.

27 lines (26 loc) 661 B
import { HTMLAttributes } from 'react'; import { SCCourseType } from '@selfcommunity/types'; export interface CourseProps { /** * Id of the feed object * @default 'course' */ id?: string; /** * Overrides or extends the styles applied to the component. * @default null */ className?: HTMLAttributes<HTMLDivElement>['className']; /** * Course Object * @default null */ course?: SCCourseType; /** * Id of the course for filter the feed * @default null */ courseId?: number; viewDashboard?: boolean; } export default function Course(inProps: CourseProps): JSX.Element;