Skip to main content

Function: DrawerOverlay()

@arolariu/components


@arolariu/components / DrawerOverlay

Function: DrawerOverlay()

DrawerOverlay(props): ReactElement

Defined in: components/ui/drawer.tsx:192

Renders the drawer overlay.

Parameters

props

Readonly<Props>

Returns

ReactElement

Remarks

  • Renders a <div> element by default
  • Built on Base UI Drawer
  • Supports the render prop for element composition

Example

<DrawerOverlay>Content</DrawerOverlay>

See

Base UI Documentation

// was this page useful?