Skip to main content

Variable: DrawerTrigger

@arolariu/components


@arolariu/components / DrawerTrigger

Variable: DrawerTrigger

const DrawerTrigger: ForwardRefExoticComponent<Omit<DrawerTriggerProps, "ref"> & RefAttributes<HTMLButtonElement>>

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

Renders the drawer trigger.

Remarks

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

Example

<DrawerTrigger>Content</DrawerTrigger>

See

Base UI Documentation

// was this page useful?