UNPKG

semantic-ui-react

Version:
31 lines (20 loc) 753 B
import * as React from 'react' import { HtmlImageProps, SemanticShorthandContent, SemanticShorthandItem } from '../..' import { IconProps } from '../../elements/Icon' export interface FeedLabelProps { [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 /** An event can contain icon label. */ icon?: SemanticShorthandItem<IconProps> /** An event can contain image label. */ image?: SemanticShorthandItem<HtmlImageProps> } declare const FeedLabel: React.StatelessComponent<FeedLabelProps> export default FeedLabel