UNPKG

@selfcommunity/react-ui

Version:

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

39 lines (34 loc) 1.07 kB
import { ButtonProps } from '@mui/material/Button/Button'; import { GroupFormProps } from '../GroupForm'; export interface CreateGroupButtonProps extends ButtonProps { /** * Overrides or extends the styles applied to the component. * @default null */ className?: string; /** * Props to spread to CreateGroup component * @default empty object */ GroupFormProps?: GroupFormProps; /** * 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 {CreateGroupButton} from '@selfcommunity/react-ui'; ``` #### Component Name The name `SCCreateGroupButton` can be used when providing style overrides in the theme. #### CSS |Rule Name|Global class|Description| |---|---|---| |root|.SCCreateGroupButton-root|Styles applied to the root element.| * @param inProps */ export default function CreateGroupButton(inProps: CreateGroupButtonProps): JSX.Element;