Sha256: 90ec6389c93117a4439b956e45e354d89774f5f8f9d5cef35c590455358a5aa9
Contents?: true
Size: 1.33 KB
Versions: 493
Compression:
Stored size: 1.33 KB
Contents
import React from "react" import { Nav, NavItem } from "../.." const CollapsibleNavWithAllOptions = (props) => { const navItems = ["Overview", "Albums", "Similar Artists"] return ( <> <Nav variant="bold" {...props} > {navItems.map((text, index) => { return ( <NavItem collapsible collapsibleTrail fontWeight="bolder" iconLeft="city" iconRight={["plus", "minus"]} key={index} link="#" text={text} {...props} > <NavItem fontSize="small" link="#" marginY="none" text="City" {...props} /> <NavItem fontSize="small" link="#" marginY="none" text="People" {...props} /> <NavItem fontSize="small" link="#" marginY="none" text="Business" {...props} /> </NavItem> ); })} </Nav> </> ) } export default CollapsibleNavWithAllOptions
Version data entries
493 entries across 493 versions & 2 rubygems