Home > @uniformdev/design-system > DrawerRenderer

DrawerRenderer variable

Renders a stack of drawers in a different location than their original position in the component tree. Uses React Portal under the hood.

Signature:

Example

<DrawerProvider><Drawer id="my-drawer" stackId="my-stack" header="Title">Hello</Drawer><DrawerRenderer stackId="my-stack"/></DrawerProvider>