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.PLAY1750pbcontenttagkitbutton5340 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5340 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui_docs-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5339 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5339 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui_docs-14.12.0.pre.rc.3 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui-14.12.0.pre.rc.3 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui_docs-14.12.0.pre.rc.2 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui-14.12.0.pre.rc.2 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui_docs-14.12.0.pre.rc.1 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui-14.12.0.pre.rc.1 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui_docs-14.12.0.pre.rc.0 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui-14.12.0.pre.rc.0 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui_docs-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5315 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5315 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui_docs-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5314 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5314 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui_docs-14.10.0.pre.alpha.PLAY1750pbcontenttagkitbutton5308 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui-14.10.0.pre.alpha.PLAY1750pbcontenttagkitbutton5308 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui-14.11.1 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx
playbook_ui_docs-14.11.0.pre.rc.17 app/pb_kits/playbook/pb_nav/docs/_collapsible_nav.jsx