import * as React from 'react' import { SemanticShorthandContent, SemanticShorthandItem } from '../../generic' import ItemContent from './ItemContent' import ItemDescription, { ItemDescriptionProps } from './ItemDescription' import ItemExtra, { ItemExtraProps } from './ItemExtra' import ItemGroup from './ItemGroup' import ItemHeader, { ItemHeaderProps } from './ItemHeader' import ItemImage, { ItemImageProps } from './ItemImage' import ItemMeta, { ItemMetaProps } from './ItemMeta' export interface ItemProps extends StrictItemProps { [key: string]: any } export interface StrictItemProps { /** 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.FC { 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