Skip to content

robo-fox/robofox-react-portal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

robofox-react-portal

  • Easily create a top level component from anywhere in your tree
  • Useful for popups, modals and the like

Install

npm install robofox-react-portal

Example

import React from 'react'
import Portal from 'robofox-react-portal'

function MyApp() {
  return(
    <Portal>
      ...your components
    </Portal>
}

License

Code released under the MIT license.

About

Creates a top level component from anywhere in your tree

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published