Skip to main content

Function: VirtuosoMessageList

VirtuosoMessageList<Data, Context>(props): ReactElement<any, string | JSXElementConstructor<any>>

The React component that renders the message list. Refer to VirtuosoMessageListProps for the accepted props. The component is accepts a ref that can be used to call methods on the message list. See VirtuosoMessageListMethods for the available methods.

You should wrap your message lists (either individually or at a higher level) in a VirtuosoMessageListLicense to provide the license key.

Type parameters

Name
Data
Context

Parameters

NameType
propsVirtuosoMessageListProps<Data, Context> & { ref?: NoInfer<Ref<VirtuosoMessageListMethods<Data, Context>>> }

Returns

ReactElement<any, string | JSXElementConstructor<any>>