release: WRNexusJS 0.2.54
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
component DesktopNavigation {
|
||||
props {
|
||||
label = "Primary navigation"
|
||||
items = []
|
||||
class = ""
|
||||
}
|
||||
view { <nav aria-label="{label}" class="wire-desktop-nav {class}"><ul>{#each items as item}<li><a href="{item.href}" aria-current="{item.current ? 'page' : 'false'}">{item.label}</a></li>{/each}</ul></nav> }
|
||||
}
|
||||
Reference in New Issue
Block a user