UNPKG

@selfcommunity/react-ui

Version:

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

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