Skip to content

Commit

Permalink
Add modifier to divider extension
Browse files Browse the repository at this point in the history
  • Loading branch information
yasanglass committed Feb 28, 2024
1 parent 196788f commit 72f1090
Showing 1 changed file with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
package glass.yasan.concrete.component.extension

import androidx.compose.foundation.lazy.LazyListScope
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.unit.Dp
import glass.yasan.concrete.component.Divider
import glass.yasan.concrete.theme.ConcreteTheme

public fun LazyListScope.divider() {
public fun LazyListScope.divider(
modifier: Modifier = Modifier,
) {
item {
Divider()
Divider(
modifier = modifier,
)
}
}
}

0 comments on commit 72f1090

Please sign in to comment.