UNPKG

semantic-ui-react

Version:
27 lines (18 loc) 645 B
import * as React from 'react' import { SemanticShorthandCollection } from '../../generic' import { MessageItemProps } from './MessageItem' export interface MessageListProps extends StrictMessageListProps { [key: string]: any } export interface StrictMessageListProps { /** An element type to render as (string or function). */ as?: any /** Primary content. */ children?: React.ReactNode /** Additional classes. */ className?: string /** Shorthand Message.Items. */ items?: SemanticShorthandCollection<MessageItemProps> } declare const MessageList: React.StatelessComponent<MessageListProps> export default MessageList