@porsche-design-system/components-react
Version:
Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.
23 lines (22 loc) • 726 B
TypeScript
import type { AriaAttributes } from '../types';
import type { FC } from 'react';
import type { JSX } from 'react';
type DialogBaseProps = {
children?: JSX.Element;
host: HTMLElement;
inert?: boolean;
dialogRef?: (el: HTMLDialogElement) => void;
scrollerRef?: (el: HTMLDivElement) => void;
containerClass: 'flyout' | 'modal' | 'sheet';
onCancel?: (e: Event) => void;
onClick?: (e: MouseEvent) => void;
onTransitionEnd?: (e: TransitionEvent) => void;
onDismiss?: () => void;
ariaAttributes?: AriaAttributes;
dismissable?: boolean;
header?: JSX.Element;
footer?: JSX.Element;
subFooter?: JSX.Element;
};
export declare const DialogBase: FC<DialogBaseProps>;
export {};