Skip to main content

Variable: SidebarMenuAction

@arolariu/components


@arolariu/components / SidebarMenuAction

Variable: SidebarMenuAction

const SidebarMenuAction: ForwardRefExoticComponent<Omit<SidebarMenuActionProps, "ref"> & RefAttributes<HTMLButtonElement>>

Defined in: components/ui/sidebar.tsx:911

Renders a secondary action button aligned within a sidebar menu item.

Remarks

  • Renders a <button> element by default
  • Supports asChild composition for custom controls

Example

<SidebarMenuAction showOnHover></SidebarMenuAction>

See

React cloneElement Docs

// was this page useful?