@smashing/portal
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

yarn add @smashing/portal

Usage

import {Portal} from "@smashing/portal"

export default () => (
  <div>
    App content...
    <Portal>Content moved outside of react tree.</Portal>
  </div>
)

Dependencies (0)

    Dev Dependencies (4)

    Package Sidebar

    Install

    npm i @smashing/portal

    Weekly Downloads

    22

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    4.26 kB

    Total Files

    7

    Last publish

    Collaborators

    • amroz123
    • hzub
    • idered
    • mkolakowska
    • mzbiejczuk
    • qk