Edit in GitHubLog an issue

Portal

Typedefs

props

Props for Portal

A component that renders content into a DOM node that exists outside of the DOM hierarchy of the parent component.

Returns: React.ReactPortal — The React portal.

See: https://reactjs.org/docs/portals.html
Parameters

NameTypeDescription
childrenReactNodeLikeReact child elements
containerObjectThe DOM node to render the children in

Props for Portal

Properties

NameTypeDescription
childrenReactNodeLikeany elements that will be child elements inside the modal.
containerObjectthe container element (a DOM element) where the children will be rendered.

Source Code: pwa-studio/packages/venia-ui/lib/components/Portal/portal.js

  • Privacy
  • Terms of Use
  • Do not sell my personal information
  • AdChoices
Copyright © 2022 Adobe. All rights reserved.