@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
39 lines (34 loc) • 1.09 kB
TypeScript
import { ButtonProps } from '@mui/material';
import { CourseFormDialogProps } from '../CourseFormDialog';
export interface CreateCourseButtonProps extends ButtonProps {
/**
* Overrides or extends the styles applied to the component.
* @default null
*/
className?: string;
/**
* Props to spread to CreateGroup component
* @default empty object
*/
CourseFormDialogComponentProps?: CourseFormDialogProps;
/**
* Any other properties
*/
[p: string]: any;
}
/**
*> API documentation for the Community-JS Create Group Button component. Learn about the available props and the CSS API.
*
#### Import
```jsx
import {CreateCourseButton} from '@selfcommunity/react-ui';
```
#### Component Name
The name `SCCreateCourseButton` can be used when providing style overrides in the theme.
#### CSS
|Rule Name|Global class|Description|
|---|---|---|
|root|.SCCreateCourseButton-root|Styles applied to the root element.|
* @param inProps
*/
export default function CreateCourseButton(inProps: CreateCourseButtonProps): JSX.Element;