fixes in signature of NavbarNav fun

This commit is contained in:
InsanusMokrassar 2022-05-19 18:50:06 +06:00
parent b028b12103
commit abe44fe1c6

View File

@ -11,13 +11,12 @@ import org.w3c.dom.HTMLUListElement
@Composable
fun NavbarNav(
elements: List<AttrsWithContentBuilder<HTMLLIElement>>,
modifiers: List<UIKitModifier>,
attributesCustomizer: AttrBuilderContext<HTMLUListElement> = {}
attrs: Attrs<HTMLUListElement> = Attrs.empty()
) {
Ul(
{
include(UIKitNavbar.Nav, *modifiers.toTypedArray())
attributesCustomizer()
include(UIKitNavbar.Nav)
attrs.builder(this)
}
) {
elements.forEach { element ->