"use client"; import { type ComponentPropsWithoutRef, type ComponentRef, forwardRef, } from "react"; import { DropdownMenu as DropdownMenuPrimitive } from "radix-ui"; import type { WithRenderPropProps } from "../../utils/Primitive"; import { DropdownMenuRenderContent } from "../dropdownMenuRenderPrimitives"; import { type ScopedProps, useDropdownMenuScope } from "./scope"; export namespace ActionBarMorePrimitiveContent { export type Element = ComponentRef; export type Props = WithRenderPropProps< typeof DropdownMenuPrimitive.Content > & { portalProps?: | ComponentPropsWithoutRef | undefined; }; } export const ActionBarMorePrimitiveContent = forwardRef< ActionBarMorePrimitiveContent.Element, ActionBarMorePrimitiveContent.Props >( ( { __scopeActionBarMore, portalProps, sideOffset = 4, ...props }: ScopedProps, forwardedRef, ) => { const scope = useDropdownMenuScope(__scopeActionBarMore); return ( ); }, ); ActionBarMorePrimitiveContent.displayName = "ActionBarMorePrimitive.Content";