mirror of
https://github.com/InsanusMokrassar/JSUIKitKBindings.git
synced 2024-12-22 00:27:25 +00:00
add opportunity to customize NavDivider
This commit is contained in:
parent
7b72f99f66
commit
c6023d3075
@ -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
|
||||||
|
@ -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() })
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user