Repository URL to install this package:
|
Version:
4.0.59 ▾
|
import { ReactNode } from 'react';
export interface Handle {
disengage(): void;
}
export interface ModalOrganismProps {
children: ReactNode;
className?: string;
isDefaultFocus?: boolean;
isVisible?: boolean;
/**
* can also come from commonState eh.console..
*/
onClose?: () => void;
onOpen?: () => void;
controller?: {
[key: string]: any;
} | string;
}
/**
* @todo add Without<renderProps for renderProps typings
*/
export interface DialogProps {
renderTrigger: (props: DialogProps) => ReactNode;
renderBox: (props: DialogProps) => ReactNode;
title: string;
isToast?: boolean;
hasClose?: boolean;
onClose: (event?: MouseEvent | KeyboardEvent) => void;
}