<Overlay>
Creates overlay over whole page.
Usage
import {Overlay} from 'libreact/lib/Overlay';
<Overlay>
This is rendered over the whole page.
</Overlay>
Props
color
— optional, string, overlay color, defaults torgba(0, 0, 0, 0.5)
.time
— optional, number, entrance opacity animation length in milliseconds, defaults to300
.onElement
— optional, callback that receives the DOM element overlay created.onClick
— optional, callback, which is called when user click on overlay but not on its children.