\n {!children && (\n <>\n {title && (\n
\n \n {t(title)}\n \n
\n )}\n {message &&\n (typeof message === 'string' ? (\n
\n \n {t(message)}\n \n
\n ) : (\n message\n ))}\n {okOnRightPosition ? (\n
\n {onCancel && (\n \n )}\n {onOk && (\n \n )}\n
\n ) : (\n
\n {onOk && (\n \n )}\n {onCancel && (\n \n )}\n
\n )}\n >\n )}\n {children && children}\n
\n