Merge pull request #16 from InsanusMokrassar/0.0.16

0.0.16
This commit is contained in:
InsanusMokrassar authored and GitHub committed 2022-01-24 21:46:41 +06:00
commit 23f3ecb0d4
3 files changed
+10 -3

No files matched your search

+4
View File
@@ -1,5 +1,9 @@
# Changelog # Changelog
## 0.0.16
* Add opportunity to customize `NavDivider`
## 0.0.15 ## 0.0.15
* Add support of link icons * Add support of link icons
+1 -1
View File
@@ -9,4 +9,4 @@ android.enableJetifier=true
# Project data # Project data
group=dev.inmo group=dev.inmo
version=0.0.15 version=0.0.16
@@ -269,6 +269,9 @@ fun NavElement(
} }
@Composable @Composable
fun NavDivider() { fun NavDivider(
Li({ include(UIKitNav.Divider) }) vararg modifiers: UIKitModifier,
attributesCustomizer: AttrBuilderContext<HTMLLIElement> = {},
) {
Li({ include(UIKitNav.Divider, *modifiers);attributesCustomizer() })
} }