air-command-ui-library
Version:
A React component library for Air Command System with Storybook
25 lines (24 loc) • 661 B
TypeScript
import React from 'react';
import { BaseComponentProps } from '../../types';
export interface InfoField {
label: string;
value: string | number;
}
export interface InfoModalProps extends BaseComponentProps {
isOpen: boolean;
onClose: () => void;
aircraftId: string;
fields: InfoField[];
classification?: string;
onUpdate?: () => void;
onDelete?: () => void;
onShowHistory?: () => void;
isHistoryVisible?: boolean;
theme?: 'light' | 'dark';
translations?: {
showHistory?: string;
hideHistory?: string;
update?: string;
};
}
export declare const InfoModal: React.FC<InfoModalProps>;