UNPKG

@selfcommunity/react-ui

Version:

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

49 lines (44 loc) 1.24 kB
import { BaseDialogProps } from '../../shared/BaseDialog'; import { CourseFormProps } from '../CourseForm'; export interface CourseFormDialogProps extends BaseDialogProps { /** * Overrides or extends the styles applied to the component. * @default null */ className?: string; /** * Open dialog * @default true */ open?: boolean; /** * On dialog close callback function * @default null */ onClose?: () => void; /** * Props to spread to CourseForm component * @default {} */ CourseFormComponentProps?: CourseFormProps; /** * Any other properties */ [p: string]: any; } /** *> API documentation for the Community-JS CourseFormDialog component. Learn about the available props and the CSS API. * #### Import ```jsx import {CourseFormDialog} from '@selfcommunity/react-ui'; ``` #### Component Name The name `SCCourseFormDialog` can be used when providing style overrides in the theme. #### CSS |Rule Name|Global class|Description| |---|---|---| |root|.SCCourseFormDialog-root|Styles applied to the root element.| * @param inProps */ export default function CourseFormDialog(inProps: CourseFormDialogProps): JSX.Element;