@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
28 lines (27 loc) • 839 B
TypeScript
import * as React from 'react';
import { BoxProps } from 'rebass';
import { ModalProps } from '../Modal';
import { WindowModalProps } from '../WindowModal';
type TypeProps = {
modal?: boolean;
autoFocus?: boolean;
focusOnBrowserVisible?: boolean;
fixed?: boolean;
windowModal?: boolean;
windowModalProps?: WindowModalProps;
modalProps?: ModalProps;
isOpen?: boolean;
defaultIsOpen?: boolean;
showCloseButton?: boolean;
onDismiss?: () => void;
dismissOnClickOutside?: boolean;
};
export interface DialogProps extends Omit<BoxProps, 'ref'>, TypeProps {
}
export type DialogRefType = {
bringToFront: VoidFunction;
};
export declare const Dialog: React.ForwardRefExoticComponent<DialogProps & {
children?: React.ReactNode;
} & React.RefAttributes<DialogRefType>>;
export default Dialog;