@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
49 lines (44 loc) • 1.24 kB
TypeScript
import { BaseDialogProps } from '../../shared/BaseDialog';
import { EventFormProps } from '../EventForm';
export interface EventFormDialogProps 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 EventForm component
* @default undefined
*/
EventFormComponentProps?: EventFormProps;
/**
* Any other properties
*/
[p: string]: any;
}
/**
*> API documentation for the Community-JS EventFormDialog component. Learn about the available props and the CSS API.
*
#### Import
```jsx
import {EventFormDialog} from '@selfcommunity/react-ui';
```
#### Component Name
The name `SCEventFormDialog` can be used when providing style overrides in the theme.
#### CSS
|Rule Name|Global class|Description|
|---|---|---|
|root|.SCEventFormDialog-root|Styles applied to the root element.|
* @param inProps
*/
export default function EventFormDialog(inProps: EventFormDialogProps): JSX.Element;