Create a MatrixUserRow composable
This commit is contained in:
parent
9024510f39
commit
ef091297b3
6 changed files with 123 additions and 6 deletions
|
|
@ -29,6 +29,7 @@ import androidx.compose.ui.geometry.Offset
|
|||
import androidx.compose.ui.graphics.Brush
|
||||
import androidx.compose.ui.graphics.Color
|
||||
import androidx.compose.ui.layout.ContentScale
|
||||
import androidx.compose.ui.tooling.preview.Preview
|
||||
import androidx.compose.ui.unit.sp
|
||||
import coil.compose.AsyncImage
|
||||
import io.element.android.x.designsystem.AvatarGradientEnd
|
||||
|
|
@ -93,3 +94,9 @@ private fun InitialsAvatar(
|
|||
)
|
||||
}
|
||||
}
|
||||
|
||||
@Preview
|
||||
@Composable
|
||||
fun InitialsAvatar() {
|
||||
InitialsAvatar("A")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue