@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
6 lines (5 loc) • 456 B
TypeScript
import { SCNotificationCourseActivityType } from '@selfcommunity/types';
declare function formatLessonUrl(notificationObject: SCNotificationCourseActivityType): any;
declare const getRouteName: (notificationObject: SCNotificationCourseActivityType) => "course_edit" | "course_lesson_comments" | "course";
declare const getRouteParams: (notificationObject: SCNotificationCourseActivityType) => any;
export { getRouteName, getRouteParams, formatLessonUrl };