Skip to content

Conversation

@wch
Copy link
Collaborator

@wch wch commented Apr 18, 2023

Previously, this would raise an error, because page_navbar expected only NavSetArg objects, but shinyswatch.theme.darkly() is a list of HTML Dependencies.

ui.page_navbar(
    shinyswatch.theme.darkly(),
    ui.nav( ... ),
)

This PR allows it to accept MetadataNode objects and lists/tuples of them.

@wch wch requested a review from jcheng5 April 18, 2023 22:17
@wch wch merged commit 7c02ee3 into main Apr 19, 2023
@wch wch deleted the nav-htmldeps branch April 19, 2023 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants