UNPKG

@geist-ui/react

Version:

Modern and minimalist React UI library.

16 lines (15 loc) 600 B
import React, { MouseEvent } from 'react'; interface Props { disableBackdropClick?: boolean; onClose?: () => void; onContentClick?: (event: MouseEvent<HTMLElement>) => void; visible?: boolean; keyboard?: boolean; wrapClassName?: string; } declare type NativeAttrs = Omit<React.HTMLAttributes<any>, keyof Props>; export declare type ModalProps = Props & NativeAttrs; declare const Modal: React.ForwardRefExoticComponent<Props & NativeAttrs & { children?: React.ReactNode; } & import("../use-scaleable").ScaleableProps & React.RefAttributes<unknown>>; export default Modal;