Portal

The portal is a component that wraps Reactโ€™s createPortal method to provide a better DX for creating portals. It will automatically inject elements to the body rather than having to manually do that via the core method in React.

Examples

This component can be used via element api.

API

Portal

PropDescriptionDefault