air-command-ui-library
Version:
A React component library for Air Command System with Storybook
20 lines (19 loc) • 562 B
TypeScript
import React from 'react';
import { BaseComponentProps, ThemeVariant } from '../../types';
export interface TypeOnlyUpdateModalProps extends BaseComponentProps {
isOpen: boolean;
onClose: () => void;
onUpdate: (data: {
type: string;
}) => void;
title?: string;
/**
* Optional identifier of the entity for building a localized title
*/
itemIdentifier?: string;
initialData?: {
type?: string;
};
theme?: ThemeVariant;
}
export declare const TypeOnlyUpdateModal: React.FC<TypeOnlyUpdateModalProps>;