ultra-design
Version:
10 lines (9 loc) • 304 B
TypeScript
import React from 'react';
export interface Props {
visible: boolean;
timeout?: number;
}
declare type NativeAttrs = Omit<React.KeygenHTMLAttributes<any>, keyof Props>;
export declare type OverlayProps = Props & NativeAttrs;
declare const Overlay: React.FC<OverlayProps>;
export default Overlay;