Sha256: 981130fb69546b600355f5f8f541d7e57ae9ae4edc0f59c575db716857e8b3b8

Contents?: true

Size: 1.74 KB

Versions: 2

Compression:

Stored size: 1.74 KB

Contents

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

const CollapsibleNavEmphasize = (props) => {
  return (
    <Nav variant="subtle">
      <NavItem
          collapsible 
          emphasized
          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 
          emphasized
          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 
          emphasized
          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.PLAY951collapsiblenav31062 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_emphasize.jsx
playbook_ui-12.37.0.pre.alpha.PLAY951collapsiblenav31062 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_emphasize.jsx