UNPKG

pouncejs

Version:

A collection of UI components from Panther labs

15 lines (14 loc) 591 B
import React from 'react'; import { BoxProps } from '../Box'; export interface DropdownMenuProps { /** The position of the menu */ alignment?: 'left' | 'right' | 'match-width'; /** A transform for potentially correcting the alignment */ transform?: BoxProps['transform']; /** An optional minimum width to avoid breaking words to letters */ minWidth?: BoxProps['minWidth']; } export declare const DropdownMenu: React.ForwardRefExoticComponent<DropdownMenuProps & { children?: React.ReactNode; } & React.RefAttributes<HTMLDivElement>>; export default DropdownMenu;