UNPKG

air-command-ui-library

Version:

A React component library for Air Command System with Storybook

24 lines (23 loc) 729 B
import React from 'react'; import { BaseComponentProps, ThemeVariant } from '../../types'; export interface UpdateModalProps extends BaseComponentProps { isOpen: boolean; onClose: () => void; onUpdate: (data: { type: string; classification: string; }) => void; title?: string; /** * Optional identifier of the entity shown in the modal title. * When provided and title is not passed, the header becomes * "<t('common.update')> <itemIdentifier>" with i18n support. */ itemIdentifier?: string; initialData?: { type?: string; classification?: string; }; theme?: ThemeVariant; } export declare const UpdateModal: React.FC<UpdateModalProps>;