nope/resources/ui/popup/interfaces/IModalSettings.ts
Martin Karkowski 20d8d313f0 Fixing Bridge
2021-04-20 20:49:15 +02:00

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);
}