Merge pull request #16 from InsanusMokrassar/0.0.16

0.0.16
This commit is contained in:
InsanusMokrassar 2022-01-24 21:46:41 +06:00 committed by GitHub
commit 23f3ecb0d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 3 deletions

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

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

View File

@ -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() })
} }