UNPKG

@1771technologies/lytenyte-pro

Version:

Blazingly fast headless React data grid with 100s of features.

55 lines (54 loc) 4.4 kB
import { Popover as P } from "../popover/index.js"; import { MenuPopover } from "./popover.js"; import type { PropsWithChildren } from "react"; import { Item } from "./item/item.js"; import { Container } from "./container.js"; import { CheckboxItem } from "./checkbox-item.js"; import { DialogArrow as Arrow } from "../dialog/arrow.js"; import { RadioGroup } from "./radio-group/context.js"; import { RadioItem } from "./radio-group/radio-item.js"; import { MenuDivider as Divider } from "./menu-divider.js"; import { MenuGroup as Group } from "./menu-group.js"; import { MenuHeader as Header } from "./menu-header.js"; import { Submenu } from "./submenu/submenu.js"; import { SubmenuTrigger } from "./submenu/submenu-trigger.js"; export declare const Menu: { (props: PropsWithChildren<P.Props>): import("react/jsx-runtime").JSX.Element; Item: import("react").ForwardRefExoticComponent<Omit<Item.Props, "ref"> & import("react").RefAttributes<HTMLDivElement>>; Container: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>; CheckboxItem: import("react").ForwardRefExoticComponent<Omit<CheckboxItem.Props, "ref"> & import("react").RefAttributes<HTMLDivElement>>; Arrow: import("react").ForwardRefExoticComponent<Omit<Arrow.Props, "ref"> & import("react").RefAttributes<SVGSVGElement>>; RadioGroup: import("react").ForwardRefExoticComponent<Omit<RadioGroup.Props, "ref"> & import("react").RefAttributes<HTMLDivElement>>; RadioItem: import("react").ForwardRefExoticComponent<Omit<RadioItem.Props, "ref"> & import("react").RefAttributes<HTMLDivElement>>; Divider: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>; Group: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>; Header: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>; Submenu: import("react").ForwardRefExoticComponent<Omit<Submenu.Props, "ref"> & import("react").RefAttributes<HTMLDivElement>>; SubmenuTrigger: import("react").ForwardRefExoticComponent<Omit<SubmenuTrigger.Props, "ref"> & import("react").RefAttributes<HTMLDivElement>>; SubmenuContainer: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>; Popover: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").DialogHTMLAttributes<HTMLDialogElement>, HTMLDialogElement>, "ref"> & import("react").RefAttributes<HTMLDialogElement>>; Title: import("react").ForwardRefExoticComponent<Omit<import("../dialog/title.js").DialogTitle.Props, "ref"> & import("react").RefAttributes<HTMLHeadingElement>>; Description: import("react").ForwardRefExoticComponent<Omit<import("../dialog/description.js").DialogDescription.Props, "ref"> & import("react").RefAttributes<HTMLParagraphElement>>; Trigger: import("react").ForwardRefExoticComponent<Omit<import("../dialog/trigger.js").DialogTrigger.Props, "ref"> & import("react").RefAttributes<HTMLButtonElement>>; }; export declare namespace Menu { type Props = P.Props; namespace Component { type Item = Item.Props; type Container = Container.Props; type CheckboxItem = CheckboxItem.Props; type Arrow = Arrow.Props; type RadioGroup = RadioGroup.Props; type RadioItem = RadioItem.Props; type Divider = Divider.Props; type Group = Group.Props; type Header = Header.Props; type Submenu = Submenu.Props; type SubmenuTrigger = SubmenuTrigger.Props; type SubmenuContainer = Container.Props; type Popover = MenuPopover.Props; type Title = P.Component.Title; type Description = P.Component.Description; type Trigger = P.Component.Trigger; } }