Skip to content

Component for adding other components on the top level of the DOM

Notifications You must be signed in to change notification settings

gustavopvasconcellos/react-portal

 
 

Repository files navigation

React Portal

Basic Usage

It is possible to wrap a React element with Overlay to make use of its advantages such as making the block overlap any other block despite its z-index.

Example:

<Overlay>
  <div>Hello World!</div>
</Overlay> 

About

Component for adding other components on the top level of the DOM

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%