Sha256: 322fc8e5daedf7d6c0128c271b59470d20aec3a332dab077336355f52aec5481

Contents?: true

Size: 1.63 KB

Versions: 948

Compression:

Stored size: 1.63 KB

Contents

import React from "react";
import { Nav, NavItem } from 'playbook-ui'

const CollapsibleNav = (props) => {
  return (
    <Nav 
        variant="bold"
        {...props}
    >
      <NavItem
          active
          collapsed={false}
          collapsible 
          iconLeft="city" 
          link="#" 
          text="Overview" 
          {...props}
      >
        <NavItem
            link="#" 
            text="City"
            {...props}
        />
        <NavItem
            link="#"
            text="People"
            {...props}
        />
        <NavItem 
            link="#" 
            text="Business" 
            {...props}
        />
      </NavItem>
      <NavItem 
          collapsible 
          iconLeft="theater-masks"
          link="#" 
          text="Albums" 
          {...props}
      >
        <NavItem 
            link="#" 
            text="Entertainment" 
            {...props}
        />
        <NavItem 
            link="#" 
            text="Food" 
            {...props}
        />
        <NavItem 
            link="#" 
            text="Style" 
            {...props}
        />
      </NavItem>
      <NavItem 
          collapsible 
          iconLeft="city" 
          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

948 entries across 948 versions & 2 rubygems

Version Path
playbook_ui_docs-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui_docs-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui_docs-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui_docs-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui_docs-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui_docs-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui_docs-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui_docs-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx