common: add UserProfile composable and integrate navigation

This commit is contained in:
Harsh Shandilya 2022-05-10 13:51:59 +05:30
parent c046036fdc
commit 5b024c8d6e
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
2 changed files with 31 additions and 0 deletions

View file

@ -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,
) {
}