UNPKG

@selfcommunity/react-ui

Version:

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

42 lines (41 loc) 1 kB
import { SCCourseCommentType, SCCourseLessonType } from '@selfcommunity/types'; export interface LessonCommentActionsMenuProps { /** * Overrides or extends the styles applied to the component. * @default null */ className?: string; /** * Course Lesson obj * @default null */ lesson: SCCourseLessonType; /** * Course CommentObject id * @default null */ commentObjectId?: number; /** * Course Comment obj * @default null */ commentObject: SCCourseCommentType; /** * Handle edit obj */ onEdit?: (obj: SCCourseCommentType) => void; /** * Handle delete obj */ onDelete?: (obj: SCCourseCommentType) => void; /** * Props to spread to popper * @default empty object */ PopperProps?: any; /** * Any other properties */ [p: string]: any; } export default function LessonCommentActionsMenu(props: LessonCommentActionsMenuProps): JSX.Element;