mirror of
https://github.com/Steffo99/twom.git
synced 2024-11-21 15:44:26 +00:00
Preview AvatarEmpty at different font scales
This commit is contained in:
parent
22f0d0fc8c
commit
e4a9d40fa1
1 changed files with 3 additions and 1 deletions
|
@ -11,7 +11,9 @@ import androidx.compose.ui.Modifier
|
|||
import androidx.compose.ui.tooling.preview.Preview
|
||||
|
||||
@Composable
|
||||
@Preview(widthDp = 40, heightDp = 40)
|
||||
@Preview(name = "Regular", widthDp = 40, heightDp = 40)
|
||||
@Preview(name = "Double font scale", widthDp = 40, heightDp = 40, fontScale = 2f)
|
||||
@Preview(name = "Quadruple font scale", widthDp = 40, heightDp = 40, fontScale = 4f)
|
||||
fun AvatarEmpty(
|
||||
modifier: Modifier = Modifier,
|
||||
text: String? = null,
|
||||
|
|
Loading…
Reference in a new issue