UNPKG

@grafana/ui

Version:
14 lines (13 loc) 629 B
import { type PropsWithChildren } from 'react'; export interface ModalBaseProps { className?: string; closeOnEscape?: boolean; closeOnBackdropClick?: boolean; trapFocus?: boolean; isOpen?: boolean; onDismiss?: () => void; onClickBackdrop?: () => void; 'aria-label'?: string; 'aria-labelledby'?: string; } export declare function ModalBase({ children, className, isOpen, closeOnEscape, closeOnBackdropClick, trapFocus, onDismiss, onClickBackdrop, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, }: PropsWithChildren<ModalBaseProps>): import("react/jsx-runtime").JSX.Element | null;