UNPKG

fomantic-ui-react

Version:

Fomantic-UI React -- A React Component Library.

22 lines (21 loc) 1.2 kB
import React from 'react'; import type { DropdownItemProps, DropdownProps } from './type'; import { DropdownMenuProps } from '.'; declare const Dropdown: { ({ as, text, fluid, className, selection, name, value, placeholder, on, search, clearable, noResultsMessage, options, onClick, children, ...props }: DropdownProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>; displayName: string; Menu: { ({ as, scrolling, scrollhint, animation, duration, className, open, onStart, onShow, onHide, onComplete, children, ...props }: DropdownMenuProps): JSX.Element; displayName: string; }; Item: { ({ as, active, selected, className, text, description, icon, value, unfilterable, divider, children, ...props }: DropdownItemProps): JSX.Element; displayName: string; }; Divider: { ({ as, className, children, ...props }: import("./type").DropdownDividerProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>; displayName: string; }; SearchInput: React.ForwardRefExoticComponent<import("./type").DropdownSearchInputProps & React.RefAttributes<HTMLInputElement>>; }; export default Dropdown;