mirror of
https://github.com/hanzoai/agency.git
synced 2026-11-02 19:13:28 +00:00
14 lines
704 B
Plaintext
14 lines
704 B
Plaintext
/** Floating menu panel — 16px radius, blurred near-black fill, 8px padding. */
|
|
export interface DropdownMenuProps {
|
|
/** Which edge the panel aligns to. */
|
|
align?: 'left' | 'right';
|
|
/** Open on hover (the nav behaviour) instead of click. */
|
|
hover?: boolean;
|
|
trigger: React.ReactNode;
|
|
children?: React.ReactNode;
|
|
}
|
|
export function DropdownMenu(props: DropdownMenuProps): JSX.Element;
|
|
export function DropdownMenuItem(props: React.AnchorHTMLAttributes<HTMLAnchorElement> & { desc?: string }): JSX.Element;
|
|
export function DropdownMenuLabel(props: React.HTMLAttributes<HTMLSpanElement>): JSX.Element;
|
|
export function DropdownMenuSeparator(props: { style?: React.CSSProperties }): JSX.Element;
|