add opportunity to customize NavDivider

This commit is contained in:
InsanusMokrassar 2022-01-24 21:39:47 +06:00
parent 7b72f99f66
commit c6023d3075
2 changed files with 7 additions and 2 deletions

View File

@ -2,6 +2,8 @@
## 0.0.16 ## 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

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