@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
41 lines (40 loc) • 992 B
TypeScript
import { SCUserType } from '@selfcommunity/types';
export declare enum SCCourseTemplateType {
SNIPPET = "snippet",
PREVIEW = "preview"
}
export declare enum SCLessonActionsType {
COMMENTS = "comments",
LESSONS = "lessons",
SETTINGS = "settings"
}
export declare enum SCLessonModeType {
VIEW = "view",
EDIT = "edit"
}
export declare enum SCCourseEditTabType {
LESSONS = "lessons",
CUSTOMIZE = "customize",
USERS = "users",
REQUESTS = "requests",
OPTIONS = "options"
}
export declare enum SCCourseUsersTableModeType {
DASHBOARD = "dashboard",
EDIT = "edit",
REQUESTS = "requests"
}
export interface SCCourseEditManageUserProps {
tab: SCCourseEditTabType;
user?: SCUserType;
request?: SCUserType;
}
export interface SCCourseEditManageUserRef {
handleManageUser: (user: SCUserType) => void;
}
export interface SCCourseGetUrlLessonData {
id: number;
slug: string;
section_id: number;
lesson_id: number;
}