Declaratively render a React portal while maintaining the current Braid theme.
<BraidPortal>
  ...
</BraidPortal>

Choosing a container

Portals are rendered to the body element by default, but this can be configured via the container prop.
<BraidPortal container={someRef.current}>
  ...
</BraidPortal>
Branch preview: