44 lines
1.3 KiB
TypeScript
44 lines
1.3 KiB
TypeScript
import { default as React } from 'react';
|
|
import { AriaProps } from '../types/aria';
|
|
|
|
type DialogProps = AriaProps & {
|
|
children: React.ReactNode;
|
|
quick?: boolean;
|
|
returnValue?: string;
|
|
noFocusTrap?: boolean;
|
|
open?: boolean;
|
|
style?: React.CSSProperties;
|
|
className?: string;
|
|
id?: string;
|
|
onClose?: () => void;
|
|
onShow?: () => void;
|
|
onOpen?: () => void;
|
|
onOpened?: () => void;
|
|
onClosed?: () => void;
|
|
onCancel?: () => void;
|
|
fullScreen?: boolean;
|
|
};
|
|
export declare const Dialog: (props: DialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
type DialogTitleProps = AriaProps & {
|
|
children: React.ReactNode;
|
|
style?: React.CSSProperties;
|
|
className?: string;
|
|
id?: string;
|
|
};
|
|
export declare const DialogTitle: (props: DialogTitleProps) => import("react/jsx-runtime").JSX.Element;
|
|
type DialogContentProps = AriaProps & {
|
|
children: React.ReactNode;
|
|
style?: React.CSSProperties;
|
|
className?: string;
|
|
id?: string;
|
|
};
|
|
export declare const DialogContent: (props: DialogContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
type DialogActionsProps = AriaProps & {
|
|
children: React.ReactNode;
|
|
style?: React.CSSProperties;
|
|
className?: string;
|
|
id?: string;
|
|
};
|
|
export declare const DialogActions: (props: DialogActionsProps) => import("react/jsx-runtime").JSX.Element;
|
|
export {};
|