import * as React from 'react'; import { ActionModal, ActionModalProps } from './ActionModal'; import { ButtonVariant } from '@patternfly/react-core/dist/dynamic/components/Button'; import { SemiPartial } from '../../types/Utils'; type ChangedProps = 'isPerformingAction' | 'onAction'; type InheritedProps = 'isOpen' | 'title' | 'content' | 'onClose' | 'error' | 'variant'; export type DeleteModalProps = Omit, ChangedProps> & { isDeleting: boolean; onDelete: () => boolean | Promise; } export const DeleteModal: React.FunctionComponent = (props) => { return ; };