import * as React from 'react'; import { SemanticShorthandContent, SemanticShorthandItem } from '../..'; import { default as ItemContent } from './ItemContent'; import { default as ItemDescription, ItemDescriptionProps } from './ItemDescription'; import { default as ItemExtra, ItemExtraProps} from './ItemExtra'; import { default as ItemGroup } from './ItemGroup'; import { default as ItemHeader, ItemHeaderProps } from './ItemHeader'; import { default as ItemImage, ItemImageProps } from './ItemImage'; import { default as ItemMeta, ItemMetaProps } from './ItemMeta'; export interface ItemProps { [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 ItemContent component. */ content?: SemanticShorthandContent; /** Shorthand for ItemDescription component. */ description?: SemanticShorthandItem; /** Shorthand for ItemExtra component. */ extra?: SemanticShorthandItem; /** Shorthand for ItemHeader component. */ header?: SemanticShorthandItem; /** Shorthand for ItemImage component. */ image?: SemanticShorthandItem; /** Shorthand for ItemMeta component. */ meta?: SemanticShorthandItem; } interface ItemComponent extends React.StatelessComponent { Content: typeof ItemContent; Description: typeof ItemDescription; Extra: typeof ItemExtra; Group: typeof ItemGroup; Header: typeof ItemHeader; Image: typeof ItemImage; Meta: typeof ItemMeta; } declare const Item: ItemComponent; export default Item;