If you have any project questions, concerns, or contribution ideas, join our #pwa Slack channel. Find out how to create an account by visiting Community Resources

Modal

Typedefs

props

Props for Modal

A component that gives a modal-like behavior with content inside.

Kind: global functional component
Returns: React.ReactPortal - A React portal that displays some content as a modal.

Param Type Description
children children React child elements
container container modal container

props

Props for Modal

Kind: global typedef
Properties

Name Type Description
children ReactNodeLike any elements that will be child elements inside the modal.
container Object the container element (a DOM element) where the children will be rendered.

For implementation details View Source.