DirectoryObjectExpandableCommentComposable
fun DirectoryObjectExpandableCommentComposable(text: String, textFont: SearchComposableFontData, textColor: Color, buttonText: String, buttonTextFont: SearchComposableFontData, buttonTextColor: Color)
Composable function that displays a text comment with expand/collapse functionality.
This component shows a preview of a long comment with a button to expand and view the full text. Useful for reviews, descriptions, or any lengthy text content where screen space is limited.
Parameters
text
The full comment text to display. Will be truncated in collapsed state.
textFont
The font styling for the comment text.
textColor
The color of the comment text.
buttonText
The text for the expand/collapse button (e.g., "Expand", "More").
buttonTextFont
The font styling for the button text.
buttonTextColor
The color of the button text.