@chief-editor/ui
Version:
UI Component for chief editor
20 lines (19 loc) • 1.02 kB
TypeScript
import { PropsWithChildren } from 'react';
import { DropdownMenu } from './components/DropdownMenu';
import { DropdownMenuItem } from './components/DropdownMenuItem';
import { DropdownSubMenu } from './components/DropdownSubMenu';
import { DropdownButton } from './DropdownButton';
import { DropdownLink } from './DropdownLink';
import { DropdownInput } from './DropdownInput';
import { IDropdownOptions } from './useDropdown';
export declare type IDropdownProps = PropsWithChildren<IDropdownOptions>;
export declare function Dropdown(props: IDropdownProps): JSX.Element;
export declare namespace Dropdown {
var Link: typeof DropdownLink;
var Button: typeof DropdownButton;
var Menu: typeof DropdownMenu;
var Input: typeof DropdownInput;
var SubMenu: typeof DropdownSubMenu;
var MenuItem: typeof DropdownMenuItem;
var ContextMenu: (props: import("@co-hooks/util").UnionOmit<import("./DropdownContextMenu").IDropdownContextMenu, import("react").HTMLAttributes<HTMLDivElement>>) => JSX.Element;
}