UNPKG

component-library-mustafa-akagunduz

Version:

Air Command System projesi için geliştirilmiş React component kütüphanesi

27 lines (26 loc) 747 B
import React from 'react'; import './InfoModal.css'; export interface AircraftInfo { callSign: string; type: string; classification: 'FRIENDLY' | 'HOSTILE' | 'NEUTRAL' | 'UNKNOWN'; latitude: number; longitude: number; altitude: number; heading: number; speed: number; lastUpdate: string; } export interface InfoModalProps { isOpen: boolean; onClose: () => void; aircraftInfo: AircraftInfo; onDelete?: () => void; onUpdate?: () => void; onShowHistory?: () => void; showDeleteButton?: boolean; showUpdateButton?: boolean; isLoading?: boolean; t: (key: string, params?: Record<string, string | number>) => string; } export declare const InfoModal: React.FC<InfoModalProps>;