UNPKG

mod-arch-shared

Version:

Shared UI components and utilities for modular architecture micro-frontend projects

24 lines 791 B
import * as React from 'react'; import { ButtonProps, ModalProps, ModalHeaderProps } from '@patternfly/react-core'; export type ButtonAction = { label: string; onClick: () => void; variant?: ButtonProps['variant']; dataTestId?: string; }; export type ContentModalProps = { onClose: () => void; contents: React.ReactNode; title: string | React.ReactNode; buttonActions?: ButtonAction[]; description?: React.ReactNode; disableFocusTrap?: boolean; dataTestId?: string; bodyClassName?: string; variant?: ModalProps['variant']; bodyLabel?: string; titleIconVariant?: ModalHeaderProps['titleIconVariant']; }; declare const ContentModal: React.FC<ContentModalProps>; export default ContentModal; //# sourceMappingURL=ContentModal.d.ts.map