@iobroker/adapter-react-v5
Version:
React components to develop ioBroker interfaces with react.
27 lines (26 loc) • 754 B
TypeScript
import React from 'react';
import type { IobTheme } from '../types';
interface CustomModalProps {
icon?: any;
open: boolean;
onClose: () => void;
children: React.JSX.Element | null;
titleButtonClose?: string;
titleButtonApply?: string;
onApply: (result: string) => void;
fullWidth?: boolean;
maxWidth?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
applyButton?: boolean;
applyDisabled?: boolean;
overflowHidden?: boolean;
help?: string;
noTranslation?: boolean;
toggleTranslation?: () => void;
title?: string;
progress?: boolean;
textInput?: boolean;
defaultValue?: string;
theme: IobTheme;
}
export declare function CustomModal(props: CustomModalProps): React.JSX.Element;
export {};