mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 11:47:04 +05:30
common: add UserProfile composable and integrate navigation
This commit is contained in:
parent
c046036fdc
commit
5b024c8d6e
2 changed files with 31 additions and 0 deletions
|
@ -0,0 +1,14 @@
|
|||
package dev.msfjarvis.claw.common.user
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.ui.Modifier
|
||||
import dev.msfjarvis.claw.model.User
|
||||
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
@Composable
|
||||
fun UserProfile(
|
||||
username: String,
|
||||
getProfile: suspend (username: String) -> User,
|
||||
modifier: Modifier = Modifier,
|
||||
) {
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue