package com.suno.android.ui.screens.songdetails import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.runtime.Composable import androidx.compose.runtime.getValue import androidx.compose.ui.Modifier import androidx.lifecycle.compose.collectAsStateWithLifecycle @Composable fun SongDetailsLyricsScreen( viewModel: SongDetailsViewModel, isInPostingMode: Boolean, ) { val state by viewModel.state.collectAsStateWithLifecycle() Column(modifier = Modifier.fillMaxSize()) { SongDetailsLyricsInput( lyrics = state.songLyrics, onLyricsChange = { viewModel.sendEvent( SongDetailsMviEvent.EditSongLyricsInputChange( isInPostingMode = isInPostingMode, text = it, ), ) }, ) } }