UNPKG

@iobroker/adapter-react-v5

Version:

React components to develop ioBroker interfaces with react.

30 lines (29 loc) 824 B
import React, { type JSX } from 'react'; import type { IobTheme } from '../types'; interface DialogCronProps { onClose: () => void; onOk: (cron: string) => void; title?: string; cron?: string; cancel?: string; ok?: string; /** show only simple configuration */ simple?: boolean; /** show only complex configuration */ complex?: boolean; /** do not show wizard */ noWizard?: boolean; theme: IobTheme; } interface DialogCronState { cron: string; mode: 'simple' | 'complex' | 'wizard'; } export declare class DialogCron extends React.Component<DialogCronProps, DialogCronState> { constructor(props: DialogCronProps); handleCancel(): void; handleOk(): void; setMode(mode: 'simple' | 'complex' | 'wizard'): void; render(): JSX.Element; } export {};