Profile
Pic
fun ProfilePic(modifier: Modifier = Modifier, profilePic: String = localUser.profilePic, size: Dp, onClick: () -> Unit = { navToProfileScreen() })
Custom AsyncImage used to display the profile pic of the localUser or the member of a team
Parameters
modifier
The modifier to apply to the component
profile Pic
The data of the profile pic to display
size
The size of the profile pic
on Click
The action to execute when the component has been clicked