We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a29640e commit e09bd1eCopy full SHA for e09bd1e
shiny/examples/nav/app.py
@@ -1,4 +1,4 @@
1
-from typing import List
+from typing import List, Union
2
3
from shiny import *
4
from shiny.types import NavsArg
shiny/ui/_navs.py
@@ -284,6 +284,7 @@ def menu_string_as_nav(x: Union[str, NavsArg]) -> NavsArg:
284
285
return Nav(nav=nav, content=None)
286
287
+ return Nav(nav=tags.li(class_="bslib-nav-spacer"), content=None)
288
289
def nav_menu(
290
title: TagChildArg,
@@ -344,7 +345,6 @@ def nav_menu(
344
345
align=align,
346
)
347
-
348
# -----------------------------------------------------------------------------
349
# Navigation containers
350
0 commit comments