Skip to content

Commit

Permalink
Add Modifier param to Spacer
Browse files Browse the repository at this point in the history
  • Loading branch information
yasanglass committed Mar 9, 2024
1 parent 8463b2b commit 08fb29f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ import androidx.compose.ui.unit.Dp
public fun Spacer(
width: Dp,
height: Dp,
modifier: Modifier = Modifier,
) {
Spacer(
modifier = Modifier
modifier = modifier
.width(width)
.height(height),
)
Expand Down

0 comments on commit 08fb29f

Please sign in to comment.