import React from 'react'; import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader } from '@/components/ui/Dialog'; import { Button } from '../../../../components/ui/Button'; import { AppInfo } from '../../../../core/types'; interface IProps { newVersion: string; info: Pick; isOpen: boolean; onClose: () => void; onConfirm: () => void; } export const UpdateModal: React.FC = ({ info, newVersion, isOpen, onClose, onConfirm }) => (
Update {info.name} ?
Update app to latest verion : {newVersion} ?
This will reset your custom configuration (e.g. changes in docker-compose.yml)
);