UNPKG

@geist-ui/react

Version:

Modern and minimalist React UI library.

12 lines (11 loc) 454 B
import React, { MouseEvent } from 'react'; interface Props { onClick?: (event: MouseEvent<HTMLElement>) => void; visible?: boolean; width?: string; onContentClick?: (event: MouseEvent<HTMLElement>) => void; } declare type NativeAttrs = Omit<React.HTMLAttributes<any>, keyof Props>; export declare type BackdropProps = Props & NativeAttrs; declare const Backdrop: React.FC<React.PropsWithChildren<BackdropProps>>; export default Backdrop;