Skip to main content

Chat TextView

Overview

LMChatTextView serves as a UI component designed for the purpose of rendering texts within a chat interface.

LMFeedMediaPreviewScreen

Customisation/Props

The LMChatTextView component requires certain props, some of which are mandatory, while others are optional. Here is a breakdown of the available props along with their types:

ParameterTypeDescriptionOptional
maxLinesnumberDefines the maximum lines to be displayed✔️
textStyleTextStyleRepresents the style of the text✔️
selectablebooleanRepresents the selection behavior of the text✔️
onTextLayoutFunctionCallback function executed on change of text layout✔️