@smashing/portal
v1.0.1
Published
Component utility to help with the ReactDOM.createPortal API.
Downloads
6
Readme
yarn add @smashing/portal
Usage
import {Portal} from "@smashing/portal"
export default () => (
<div>
App content...
<Portal>Content moved outside of react tree.</Portal>
</div>
)