Sha256: 6873de1794c5ca33cebab3419f52da0fa4fc29a4ac1e0030dee2b5c98c9a0638

Contents?: true

Size: 1.94 KB

Versions: 2

Compression:

Stored size: 1.94 KB

Contents

import React from "react";
import { Nav, NavItem } from '../..'

const CollapsibleNavEmphasize = (props) => {
  return (
    <Nav variant="bold">
      <NavItem
          active 
          collapsible
          collapsibleTrail
          fontSize="small"
          fontWeight="bold"
          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 
          collapsible 
          collapsibleTrail
          fontSize="small"
          fontWeight="bold"
          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 
          collapsibleTrail
          fontSize="small"
          fontWeight="bold"
          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 CollapsibleNavEmphasize;

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
playbook_ui_docs-12.37.0.pre.alpha.PLAY951collapsiblenav31073 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_emphasize.jsx
playbook_ui-12.37.0.pre.alpha.PLAY951collapsiblenav31073 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_emphasize.jsx