@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
44 lines (43 loc) • 931 B
TypeScript
import { ReactNode } from 'react';
import { DialogContentProps } from '@mui/material/DialogContent';
export interface BaseDialogProps {
/**
* Overrides or extends the styles applied to the component.
* @default null
*/
className?: string;
/**
* Dialog title
* @default ''
*/
title?: any;
/**
* Dialog subtitle
* @default ''
*/
subtitle?: any;
/**
* Dialog content props
* @default {dividers: !isMobile}
*/
DialogContentProps?: DialogContentProps;
/**
* Handles dialog opening
* @default false
*/
open?: boolean;
/**
* Handles dialog closing
* @default null
*/
onClose?: () => any;
/**
* Actions for the dialog
*/
actions?: ReactNode;
/**
* Any other properties
*/
[p: string]: any;
}
export default function BaseDialog(props: BaseDialogProps): JSX.Element;