@dabapps/roe
Version:
A collection of React components, styles, mixins, and atomic CSS classes to aid with the development of web applications.
27 lines (26 loc) • 801 B
TypeScript
import * as React from 'react';
import { OptionalComponentPropAndHTMLAttributes } from '../../types';
export declare type ModalProps = {
/**
* Allows the `ModalBody` to be scrolled, rather than page.
*/
scrollable?: boolean;
/**
* Reduced size `Modal` for alerts.
*/
small?: boolean;
/**
* Fill a larger area of the screen equal to the `Container`.
*/
large?: boolean;
/**
* Fill the entire screen.
*/
fill?: boolean;
/**
* Callback to trigger when the user clicks outside of the `Modal`.
*/
onClickOutside(event: React.MouseEvent<HTMLDivElement>): void;
} & OptionalComponentPropAndHTMLAttributes;
declare const _default: React.MemoExoticComponent<(props: ModalProps) => JSX.Element>;
export default _default;