Components

DrawerPortal

<DrawerPortal />

Constructor

# <DrawerPortal />

Shows all of its children in a Drawer on the right. Instead of rendering it's own Drawer component it reuses the global Drawer via React Portal.

Usage

import { DrawerPortal } from 'admin-bro'

View Source admin-bro/src/frontend/components/app/drawer-portal.tsx, line 21

Type Definitions

object

# DrawerPortalProps

Properties:
Name Type Attributes Description
children ReactNode

The drawer content

width number | string | Array.<(number|string)> <optional>

Optional drawer width

View Source admin-bro/src/frontend/components/app/drawer-portal.tsx, line 56

SoftwareBrothers

Proudly built and maintained by SoftwareBrothers

Software House with a passion for both JavaScript and TypeScript.

See what we do See what we believe in

Proudly built and maintained by

SoftwareBrothers