ScriptMessageComponent

@Composable
fun ScriptMessageComponent(messages: List<String>, scrollState: LazyListState)

This function displays the script message component.

Parameters

messages

The list of messages to be displayed.

scrollState

The state of the scroll.

Example usage:

ScriptMessageComponent(
messages = listOf("message1", "message2"),
scrollState = rememberLazyListState()
)