@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
22 lines (21 loc) • 802 B
TypeScript
import { Dispatch } from 'react';
import { SCCourseType } from '@selfcommunity/types';
import { EndpointType } from '@selfcommunity/api-services';
import { SCCourseUsersTableModeType } from '../../types/course';
type HeaderCellsType = {
id?: string;
};
export interface CourseUsersTableProps {
state: any;
dispatch: Dispatch<any>;
course: SCCourseType;
endpointSearch: EndpointType;
endpointQueryParamsSearch?: Record<string, string | number>;
headerCells: HeaderCellsType[];
mode: SCCourseUsersTableModeType;
emptyStatusTitle: string;
emptyStatusDescription?: string;
}
declare function CourseUsersTable(inProps: CourseUsersTableProps): JSX.Element;
declare const _default: import("react").MemoExoticComponent<typeof CourseUsersTable>;
export default _default;