27 lines
660 B
TypeScript
27 lines
660 B
TypeScript
/**
|
|
* @author Martin Karkowski
|
|
* @email m.karkowski@zema.de
|
|
* @create date 2021-04-20 19:06:22
|
|
* @modify date 2021-04-20 19:06:28
|
|
* @desc [description]
|
|
*/
|
|
|
|
import { IDynamicRenderSettings } from "../../dynamic/interfaces/IDynamicRenderSettings";
|
|
|
|
export interface IModalSettings {
|
|
content: IDynamicRenderSettings;
|
|
backdrop?: "static" | boolean;
|
|
centered?: boolean;
|
|
header?: string;
|
|
size?: "sm" | "lg" | "xl";
|
|
closeButton?: boolean;
|
|
closeLabel?: boolean;
|
|
onHide?: (closeCallback: () => void) => void;
|
|
renderInBody?: boolean;
|
|
footer?:
|
|
| string
|
|
| React.Component
|
|
| React.FunctionComponent
|
|
| ((...args) => JSX.Element);
|
|
}
|