Compare commits

...

3 Commits

Author SHA1 Message Date
c6023d3075 add opportunity to customize NavDivider 2022-01-24 21:39:47 +06:00
7b72f99f66 start 0.0.16 2022-01-24 21:39:40 +06:00
66c3f97f65 Merge pull request #15 from InsanusMokrassar/0.0.15
0.0.15
2022-01-21 22:41:49 +06:00
3 changed files with 10 additions and 3 deletions

View File

@@ -1,5 +1,9 @@
# Changelog
## 0.0.16
* Add opportunity to customize `NavDivider`
## 0.0.15
* Add support of link icons

View File

@@ -9,4 +9,4 @@ android.enableJetifier=true
# Project data
group=dev.inmo
version=0.0.15
version=0.0.16

View File

@@ -269,6 +269,9 @@ fun NavElement(
}
@Composable
fun NavDivider() {
Li({ include(UIKitNav.Divider) })
fun NavDivider(
vararg modifiers: UIKitModifier,
attributesCustomizer: AttrBuilderContext<HTMLLIElement> = {},
) {
Li({ include(UIKitNav.Divider, *modifiers);attributesCustomizer() })
}