-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
196788f
commit 72f1090
Showing
1 changed file
with
11 additions
and
3 deletions.
There are no files selected for viewing
14 changes: 11 additions & 3 deletions
14
concrete/src/main/kotlin/glass/yasan/concrete/component/extension/DividerExtensions.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
) | ||
} | ||
} | ||
} |