Sha256: d078f7817125aed000f1f6416547e2670ca53ee78738a79e772664c28334213d
Contents?: true
Size: 1.68 KB
Versions: 2
Compression:
Stored size: 1.68 KB
Contents
import React from "react"; import { Nav, NavItem } from '../..' const CollapsibleNav = (props) => { return ( <Nav variant="subtle"> <NavItem collapsible iconLeft="city" iconRight={["plus", "minus"]} link="#" text="Overview" {...props} > <NavItem link="#" text="City" {...props} /> <NavItem link="#" text="People" {...props} /> <NavItem link="#" text="Business" {...props} /> </NavItem> <NavItem active collapsible iconLeft="theater-masks" iconRight={["plus", "minus"]} link="#" text="Albums" {...props} > <NavItem link="#" text="Entertainment" {...props} /> <NavItem link="#" text="Food" {...props} /> <NavItem link="#" text="Style" {...props} /> </NavItem> <NavItem collapsible iconLeft="city" iconRight={["plus", "minus"]} link="#" text="Similar Artists" {...props} > <NavItem link="#" text="City" {...props} /> <NavItem link="#" text="People" {...props} /> <NavItem link="#" text="Business" {...props} /> </NavItem> </Nav> ); }; export default CollapsibleNav
Version data entries
2 entries across 2 versions & 2 rubygems