@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
14 lines (13 loc) • 535 B
TypeScript
import { HTMLAttributes } from 'react';
import { SCCourseType } from '@selfcommunity/types';
import { SCCourseEditTabType } from '../../types/course';
export interface EditCourseProps {
courseId?: number;
course?: SCCourseType;
tab?: SCCourseEditTabType;
onTabChange?: (tab: SCCourseEditTabType) => void;
onTabSelect?: (tab: SCCourseEditTabType) => void;
className?: HTMLAttributes<HTMLDivElement>['className'];
[p: string]: any;
}
export default function EditCourse(inProps: EditCourseProps): JSX.Element;