@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
16 lines (15 loc) • 659 B
TypeScript
/// <reference types="react" />
import { SCCourseSectionType } from '@selfcommunity/types';
import { EndpointType } from '@selfcommunity/api-services';
import { ActionLessonType } from '../types';
interface FieldNameProps<T> {
endpoint: EndpointType;
row: T;
isNewRow: boolean;
handleManageRow: (section: SCCourseSectionType, type: ActionLessonType, newRow?: boolean) => void;
editMode: boolean;
handleDisableEditMode: () => void;
}
declare function FieldName<T extends SCCourseSectionType>(props: FieldNameProps<T>): JSX.Element;
declare const _default: import("react").MemoExoticComponent<typeof FieldName>;
export default _default;