diff --git a/libs/remix-ui/app/src/lib/remix-app/interface/index.ts b/libs/remix-ui/app/src/lib/remix-app/interface/index.ts index 4e5e6bd4e9..dcfcd7a1eb 100644 --- a/libs/remix-ui/app/src/lib/remix-app/interface/index.ts +++ b/libs/remix-ui/app/src/lib/remix-app/interface/index.ts @@ -6,10 +6,10 @@ export interface AppModal { title: string // eslint-disable-next-line no-undef message: string | JSX.Element - okLabel?: string - okFn?: (value?:any) => void - cancelLabel?: string - cancelFn?: () => void, + okLabel: string + okFn: (value?:any) => void + cancelLabel: string + cancelFn: () => void, modalType?: ModalTypes, defaultValue?: string hideFn?: () => void diff --git a/libs/remix-ui/modal-dialog/src/lib/remix-ui-modal-dialog.tsx b/libs/remix-ui/modal-dialog/src/lib/remix-ui-modal-dialog.tsx index 41b2afb4d1..714255aa93 100644 --- a/libs/remix-ui/modal-dialog/src/lib/remix-ui-modal-dialog.tsx +++ b/libs/remix-ui/modal-dialog/src/lib/remix-ui-modal-dialog.tsx @@ -96,7 +96,7 @@ export const ModalDialog = (props: ModalDialogProps) => {
{/* todo add autofocus ^^ */} - { { @@ -107,7 +107,7 @@ export const ModalDialog = (props: ModalDialogProps) => { {props.okLabel ? props.okLabel : 'OK'} } - {