From the Thinking in Compose video <https://www.yo...
# compose
a
From the Thinking in Compose video

https://www.youtube.com/watch?v=SMOhl9RK0BA?t=10m41s

How would you manage all the click events with single
content: @Composable () -> Unit
lambda? How would somebody handle the click events inside the lambda?
z
I think of it like changing the
ChatBubble
component from being a whole component that defines its own behavior to simple a layout/decorator that defines style. You can put whatever other components you want as children, and those children are each responsible for their own event handling.
a
Ao, I see. Thanks!