@askrjs/themes/context-menu
Exports from the declarations published in @askrjs/themes. Signatures reflect the published artifact.
Exports
This entrypoint publishes 8 exports. Use the anchored symbol rows for direct links. Type-only exports are labeled separately from runtime values.
ContextMenutype
Dropdown: (props: DropdownProps) => JSX.ElementRenders a part of dropdown.
ContextMenuContenttype
DropdownContent$1: { (props: DropdownContentProps): JSX.Element | null; (props: DropdownContentAsChildProps): JSX.Element | null; }Dropdown/context-menu content wrapper around @askrjs/ui's DropdownContent.
Non-asChild usage lazily evaluates children inside a body component so
they're only rendered once the dropdown is actually open.
ContextMenuGrouptype
DropdownGroup: (props: DropdownGroupProps | DropdownGroupAsChildProps) => import("@askrjs/askr/jsx-runtime").JSX.ElementRenders the dropdown-group part of dropdown with role="group".
Supports polymorphic rendering via asChild.
ContextMenuItemtype
DropdownItem: { (props: DropdownItemProps): JSX.Element | null; (props: DropdownItemAsChildProps): JSX.Element | null; }Renders a part of dropdown.
Supports polymorphic rendering via asChild.
ContextMenuLabeltype
DropdownLabel: (props: DropdownLabelProps | DropdownLabelAsChildProps) => import("@askrjs/askr/jsx-runtime").JSX.ElementRenders the dropdown-label part of dropdown.
Supports polymorphic rendering via asChild.
ContextMenuPortaltype
DropdownPortal: (props: DropdownPortalProps) => JSX.Element | nullRenders a part of dropdown.
ContextMenuSeparatortype
DropdownSeparator: (props: DropdownSeparatorProps | DropdownSeparatorAsChildProps) => import("@askrjs/askr/jsx-runtime").JSX.ElementRenders the dropdown-separator part of dropdown with role="separator".
Supports polymorphic rendering via asChild.
ContextMenuTriggertype
DropdownTrigger: { (props: DropdownTriggerProps): JSX.Element | null; (props: DropdownTriggerAsChildProps): JSX.Element | null; }Renders the dropdown-trigger part of dropdown.
Supports polymorphic rendering via asChild.