import { Canvas, Meta, ArgTypes } from '@storybook/blocks'; import { ThemeProvider } from 'styled-components'; import Portal from './'; import { lightTheme } from '../../../theme/'; import Flex from '../Flex'; # Portal The Portal component is used to render children into any DOM node that exists outside the DOM hierarchy of the portal's container. ## Importing ```javascript import { Portal } from 'amazon-chime-sdk-component-library-react'; ``` ## Example
Portal content
Root Div 1
Root Div 2
```jsx
Portal content
Root Div 1
Root Div 2
``` ## Props