Overlay

Useful for overlaying all the screen or a content.

Props

Prop
Type
Description
childrenReactNodeThe content to render
idStringThe id of the overlay
isVisibleBooleanWhether it is visible or not
shouldRemoveBodyScrollBooleanWhether it should remove body scroll or not
onCloseFunctionA function to be called when on close

Examples

todo