semantic-ui-react
Version:
The official Semantic-UI-React integration.
35 lines (24 loc) • 771 B
TypeScript
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;