UNPKG

@selfcommunity/react-ui

Version:

React UI Components to integrate a Community created with SelfCommunity Platform.

25 lines (24 loc) 663 B
import { BoxProps } from '@mui/material'; import { SCCoursePrivacyType, SCCourseType } from '@selfcommunity/types'; export interface CourseEditProps extends BoxProps { /** * Overrides or extends the styles applied to the component. * @default null */ className?: string; /** * Course Object * @default null */ course: SCCourseType; /** * On privacy change callback function * @default null */ onPrivacyChange?: (privacy: SCCoursePrivacyType) => void; /** * Any other properties */ [p: string]: any; } export default function CourseEdit(inProps: CourseEditProps): JSX.Element;