UNPKG

alinea

Version:

[![npm](https://img.shields.io/npm/v/alinea.svg)](https://npmjs.org/package/alinea) [![install size](https://packagephobia.com/badge?p=alinea)](https://packagephobia.com/result?p=alinea)

13 lines (12 loc) 657 B
import { ButtonHTMLAttributes, HTMLAttributes } from 'react'; export declare namespace DropdownMenu { function Root({ top, bottom, left, right, ...props }: HTMLAttributes<HTMLDivElement> & { top?: boolean; bottom?: boolean; left?: boolean; right?: boolean; }): import("react/jsx-runtime").JSX.Element; function Trigger(props: HTMLAttributes<HTMLButtonElement>): import("react/jsx-runtime").JSX.Element; function Items(props: HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element; function Item(props: ButtonHTMLAttributes<HTMLButtonElement>): import("react/jsx-runtime").JSX.Element; }