import * as React from 'react'; import SyncWizardDialog from '../../SyncWizard/Dialog'; import MasterPasswordDialog from '../../MasterPasswordDialog/Dialog'; import EditFolderDialog from '../../EditFolderDialog/Dialog'; import PdfViewer from '../../PdfViewer'; interface RegisteredDialogProps { themeId: number; key: string; // eslint-disable-next-line @typescript-eslint/ban-types -- Old code before rule was applied dispatch: Function; } interface RegisteredDialog { // eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied render: (props: RegisteredDialogProps, customProps: any)=> any; } const appDialogs: Record = { syncWizard: { // eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied render: (props: RegisteredDialogProps, customProps: any) => { return ; }, }, masterPassword: { // eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied render: (props: RegisteredDialogProps, customProps: any) => { return ; }, }, editFolder: { // eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied render: (props: RegisteredDialogProps, customProps: any) => { return ; }, }, pdfViewer: { // eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied render: (props: RegisteredDialogProps, customProps: any) => { return ; }, }, }; export default appDialogs;