UNPKG

semantic-ui-react

Version:
28 lines (18 loc) 648 B
import * as React from 'react' import { SemanticShorthandContent, SemanticShorthandItem } from '../..' import { IconProps } from '../../elements/Icon' export interface DropdownHeaderProps { [key: string]: any /** 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 /** Shorthand for Icon. */ icon?: SemanticShorthandItem<IconProps> } declare const DropdownHeader: React.ComponentClass<DropdownHeaderProps> export default DropdownHeader