Skip to content

Commit

Permalink
Remove SpacerHorizontal & SpacerVertical
Browse files Browse the repository at this point in the history
  • Loading branch information
yasanglass committed Mar 10, 2024
1 parent f234a2e commit 21aef43
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 54 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@ package glass.yasan.concrete.component.extension

import androidx.compose.foundation.lazy.LazyListScope
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp
import glass.yasan.concrete.component.Spacer
import glass.yasan.concrete.component.SpacerHorizontal
import glass.yasan.concrete.component.SpacerVertical

public fun LazyListScope.spacer(
width: Dp,
height: Dp,
width: Dp = 0.dp,
height: Dp = 0.dp,
) {
item {
Spacer(
Expand All @@ -17,23 +16,3 @@ public fun LazyListScope.spacer(
)
}
}

public fun LazyListScope.spacerHorizontal(
width: Dp,
) {
item {
SpacerHorizontal(
width = width,
)
}
}

public fun LazyListScope.spacerVertical(
height: Dp,
) {
item {
SpacerVertical(
height = height,
)
}
}

0 comments on commit 21aef43

Please sign in to comment.