UNPKG

semantic-ui-react

Version:
34 lines (23 loc) 814 B
import * as React from 'react' import { SemanticShorthandContent } from '../../generic' export interface DropdownMenuProps extends StrictDropdownMenuProps { [key: string]: any } export interface StrictDropdownMenuProps { /** An element type to render as (string or function). */ as?: any /** Primary content. */ children?: React.ReactNode /** Additional classes. */ className?: string /** Shorthand for primary content. */ content?: SemanticShorthandContent /** A dropdown menu can open to the left or to the right. */ direction?: 'left' | 'right' /** Whether or not the dropdown menu is displayed. */ open?: boolean /** A dropdown menu can scroll. */ scrolling?: boolean } declare const DropdownMenu: React.StatelessComponent<DropdownMenuProps> export default DropdownMenu