add new variant of NavbarNav

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

View File

@ -25,6 +25,12 @@ fun NavbarNav(
}
}
@Composable
fun NavbarNav(
vararg elements: AttrsWithContentBuilder<HTMLLIElement>,
attrs: Attrs<HTMLUListElement> = Attrs.empty()
) = NavbarNav(elements.toList(), attrs)
@Deprecated("Will be removed soon. Use NavbarNavPart with AttrsWithContentBuilder instead")
interface NavbarNavElement {
fun AttrsScope<HTMLLIElement>.setup() {}