/** * * Copyright (c) "Neo4j" * Neo4j Sweden AB [http://neo4j.com] * * This file is part of Neo4j. * * Neo4j is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ import type React from 'react'; import { type CommonProps, type PolymorphicCommonProps } from '../_common/types'; import type { CategoryItemProps, MenuGroupProps, MenuItemProps, MenuItemsProps, MenuProps, RadioItemProps } from './menu-types'; declare const MenuComponent: ({ children, isOpen: controlledOpen, onClose, isRoot, anchorRef, as, className, placement, minWidth, title, isDisabled, description, icon, isPortaled, portalTarget, htmlAttributes, strategy, ref: forwardedRef, style, }: PolymorphicCommonProps) => import("react/jsx-runtime").JSX.Element; declare const Menu: ((props: React.ComponentProps) => import("react/jsx-runtime").JSX.Element) & { CategoryItem: ({ children, className, style, as, htmlAttributes, ref, ...restProps }: PolymorphicCommonProps) => import("react/jsx-runtime").JSX.Element; Divider: ({ orientation, as, style, className, htmlAttributes, ref, ...restProps }: PolymorphicCommonProps) => import("react/jsx-runtime").JSX.Element; Group: ({ children, className, htmlAttributes, style, ref, ...restProps }: CommonProps<"div", MenuGroupProps>) => import("react/jsx-runtime").JSX.Element; Item: ({ title, className, style, leadingVisual, trailingContent, description, isDisabled, as, onClick, onFocus, htmlAttributes, id, ref, ...restProps }: PolymorphicCommonProps) => import("react/jsx-runtime").JSX.Element; /** * @deprecated Use Menu.Group instead if you want to group items together. If not, you can just omit this component in your implementation. */ Items: ({ as, children, className, htmlAttributes, style, ref, ...restProps }: PolymorphicCommonProps) => import("react/jsx-runtime").JSX.Element; RadioItem: ({ title, leadingVisual, trailingContent, description, isDisabled, isChecked, onClick, onFocus, className, style, as, id, htmlAttributes, ref, ...restProps }: PolymorphicCommonProps) => import("react/jsx-runtime").JSX.Element; }; export { Menu }; //# sourceMappingURL=Menu.d.ts.map