@textbus/xnote
Version:
A high-performance rich text editor that supports multiplayer online collaboration.
15 lines (14 loc) • 502 B
TypeScript
import { InjectionToken, Props, StaticRef } from '@viewfly/core';
export interface DropdownMenuProps extends Props {
abreast?: boolean;
triggerRef: StaticRef<HTMLElement>;
width?: string;
noTrigger?: boolean;
padding?: string;
toLeft?: boolean;
}
export declare const DropdownMenuContainer: InjectionToken<HTMLElement>;
export declare const DropdownMenuPortal: (props: DropdownMenuProps) => {
$portalHost: HTMLElement;
$render: () => import("@viewfly/core").JSXNode;
};